Versions in this module Expand all Collapse all v1 v1.1.0 Jul 19, 2022 v1.0.0 Jun 29, 2022 Changes in this version + const TileWidth + func NewPlayerMoveSystem() *playerMoveSystem + type MovementSystem struct + Position *component.Position + Sprite *component.Sprite + Velocity *component.Velocity + func NewMovementSystem() *MovementSystem + func (_ *MovementSystem) Draw(_ gohan.Entity, _ *ebiten.Image) error + func (s *MovementSystem) Update(e gohan.Entity) error + type PhysicsSystem struct + Player *component.Player + func NewPhysicsSystem() *PhysicsSystem + func (s *PhysicsSystem) Draw(e gohan.Entity, screen *ebiten.Image) error + func (s *PhysicsSystem) Update(_ gohan.Entity) error + type RenderDebugTextSystem struct + Player *component.Player + Position *component.Position + Velocity *component.Velocity + func NewRenderDebugTextSystem() *RenderDebugTextSystem + func (s *RenderDebugTextSystem) Draw(e gohan.Entity, screen *ebiten.Image) error + func (s *RenderDebugTextSystem) Update(_ gohan.Entity) error + type RenderMessageSystem struct + Player *component.Player + func NewRenderMessageSystem() *RenderMessageSystem + func (s *RenderMessageSystem) Draw(e gohan.Entity, screen *ebiten.Image) error + func (s *RenderMessageSystem) Update(_ gohan.Entity) error + type RenderSystem struct + Position *component.Position + Sprite *component.Sprite + func NewRenderSystem(layer int) *RenderSystem + func (s *RenderSystem) Draw(e gohan.Entity, screen *ebiten.Image) error + func (s *RenderSystem) Update(_ gohan.Entity) error + type WinSystem struct + Player *component.Player + Position *component.Position + Velocity *component.Velocity + func NewWinSystem() *WinSystem + func (s *WinSystem) Draw(e gohan.Entity, screen *ebiten.Image) error + func (s *WinSystem) Update(_ gohan.Entity) error