Documentation
¶
Index ¶
Constants ¶
View Source
const (
TileWidth = 16
)
Variables ¶
This section is empty.
Functions ¶
func NewPlayerMoveSystem ¶
func NewPlayerMoveSystem() *playerMoveSystem
Types ¶
type MovementSystem ¶
type MovementSystem struct { Position *component.Position Velocity *component.Velocity Sprite *component.Sprite }
func NewMovementSystem ¶
func NewMovementSystem() *MovementSystem
type PhysicsSystem ¶
func NewPhysicsSystem ¶
func NewPhysicsSystem() *PhysicsSystem
type RenderDebugTextSystem ¶
type RenderDebugTextSystem struct { Position *component.Position Velocity *component.Velocity Player *component.Player // contains filtered or unexported fields }
func NewRenderDebugTextSystem ¶
func NewRenderDebugTextSystem() *RenderDebugTextSystem
type RenderMessageSystem ¶
type RenderMessageSystem struct { Player *component.Player // contains filtered or unexported fields }
func NewRenderMessageSystem ¶
func NewRenderMessageSystem() *RenderMessageSystem
type RenderSystem ¶
type RenderSystem struct { Position *component.Position Sprite *component.Sprite // contains filtered or unexported fields }
func NewRenderSystem ¶
func NewRenderSystem(layer int) *RenderSystem
Click to show internal directories.
Click to hide internal directories.