Documentation ¶
Index ¶
Constants ¶
View Source
const GridCellHeight = 32
View Source
const GridCellWidth = 32
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Gravity ¶
func NewGravity ¶
func NewGravity() Gravity
type Position ¶
func NewGridPosition ¶
type Sprite ¶
type Sprite struct { Image image.Image Layer SpriteLayer FlipX bool }
func NewPlaceholderSprite ¶
type SpriteLayer ¶
type SpriteLayer int
const ( SpriteLayerBackground SpriteLayer = iota SpriteLayerForeground )
Click to show internal directories.
Click to hide internal directories.