Documentation
¶
Index ¶
Constants ¶
View Source
const ( MaskPosition = uint64(1 << 0) MaskSize = uint64(1 << 1) MaskState = uint64(1 << 2) MaskTexture = uint64(1 << 3) MaskVelocity = uint64(1 << 4) )
View Source
const ( StateControlsNo = uint64(0) StateControlsW = uint64(1 << 0) StateControlsA = uint64(1 << 1) StateControlsS = uint64(1 << 2) StateControlsD = uint64(1 << 3) )
View Source
const ( StatePlayerIdle = uint64(0) StatePlayerMove = uint64(1 << 0) )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Position ¶
func NewPosition ¶
func NewPosition() *Position
type Size ¶
func (*Size) WithHeight ¶
type State ¶ added in v0.1.7
type Velocity ¶
func NewVelocity ¶
func NewVelocity() *Velocity
Click to show internal directories.
Click to hide internal directories.