Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Gravity = donburi.NewComponentType[GravityData]()
View Source
var Hue = donburi.NewComponentType[HueData]()
View Source
var Position = donburi.NewComponentType[PositionData]()
View Source
var Settings = donburi.NewComponentType[SettingsData]()
View Source
var Sprite = donburi.NewComponentType[SpriteData]()
View Source
var Velocity = donburi.NewComponentType[VelocityData]()
Functions ¶
This section is empty.
Types ¶
type GravityData ¶
type GravityData struct {
Value float64
}
func GetGravity ¶
func GetGravity(entry *donburi.Entry) *GravityData
type PositionData ¶
type PositionData struct {
X, Y float64
}
type SettingsData ¶
type SpriteData ¶
type SpriteData struct {
Image *ebiten.Image
}
type VelocityData ¶
type VelocityData struct {
X, Y float64
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.