Versions in this module Expand all Collapse all v1 v1.0.0 Dec 15, 2021 Changes in this version + const TileWidth + var CamX float64 + var CamY float64 + func NewFireWeaponSystem(player gohan.Entity) *fireWeaponSystem + func NewPlayerMoveSystem(player gohan.Entity, m *MovementSystem) *playerMoveSystem + func NewProfileSystem(player gohan.Entity) *profileSystem + type MovementSystem struct + Dashing bool + Jumping bool + LastDash time.Time + LastJump time.Time + OnGround int + OnLadder int + ScreenH float64 + ScreenW float64 + func NewMovementSystem() *MovementSystem + func (_ *MovementSystem) Draw(_ *gohan.Context, screen *ebiten.Image) error + func (_ *MovementSystem) Needs() []gohan.ComponentID + func (_ *MovementSystem) Uses() []gohan.ComponentID + func (s *MovementSystem) RecordPosition(position *component.PositionComponent) + func (s *MovementSystem) RemoveLastPosition() + func (s *MovementSystem) Update(ctx *gohan.Context) error + func (s *MovementSystem) UpdateDebugCollisionRects() + type RenderBackgroundSystem struct + func NewRenderBackgroundSystem() *RenderBackgroundSystem + func (s *RenderBackgroundSystem) Draw(ctx *gohan.Context, screen *ebiten.Image) error + func (s *RenderBackgroundSystem) Needs() []gohan.ComponentID + func (s *RenderBackgroundSystem) Update(_ *gohan.Context) error + func (s *RenderBackgroundSystem) Uses() []gohan.ComponentID + type RenderDebugTextSystem struct + func NewRenderDebugTextSystem(player gohan.Entity) *RenderDebugTextSystem + func (s *RenderDebugTextSystem) Draw(ctx *gohan.Context, screen *ebiten.Image) error + func (s *RenderDebugTextSystem) Needs() []gohan.ComponentID + func (s *RenderDebugTextSystem) Update(_ *gohan.Context) error + func (s *RenderDebugTextSystem) Uses() []gohan.ComponentID + type RenderMessageSystem struct + func NewRenderMessageSystem(player gohan.Entity) *RenderMessageSystem + func (s *RenderMessageSystem) Draw(ctx *gohan.Context, screen *ebiten.Image) error + func (s *RenderMessageSystem) Needs() []gohan.ComponentID + func (s *RenderMessageSystem) SizeUpdated() + func (s *RenderMessageSystem) Update(_ *gohan.Context) error + func (s *RenderMessageSystem) Uses() []gohan.ComponentID + type RenderSystem struct + ScreenH int + ScreenW int + func NewRenderSystem() *RenderSystem + func (s *RenderSystem) Draw(ctx *gohan.Context, screen *ebiten.Image) error + func (s *RenderSystem) Needs() []gohan.ComponentID + func (s *RenderSystem) Update(_ *gohan.Context) error + func (s *RenderSystem) Uses() []gohan.ComponentID