Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Boid = sprite(spriteSheet, 96, 127, 48, 32)
Functions ¶
Types ¶
type Sprite ¶
type Sprite struct { Position *geometry.Vector Velocity *geometry.Vector Acceleration *geometry.Vector Orientation float64 Direction float64 Speed float64 Rotation float64 Centre *geometry.Vector Size *geometry.Dimension Image *ebiten.Image ColorModel colorm.ColorM DrawOptions *colorm.DrawImageOptions // contains filtered or unexported fields }
func (*Sprite) MoveForward ¶
Click to show internal directories.
Click to hide internal directories.