Versions in this module Expand all Collapse all v1 v1.0.0 Dec 30, 2021 Changes in this version + var World = &GameWorld + func LevelCoordinatesToScreen(x, y float64) (float64, float64) + func LoadMap(filePath string) + func NewCreep(creepType int, creepID int64, x float64, y float64) gohan.Entity + func ObjectToRect(o *tiled.Object) image.Rectangle + func Reset() + func SetMessage(message string, duration int) + func StartGame() + func TileToGameCoords(x, y int) (float64, float64) + type GameWorld struct + BrokenPieceA gohan.Entity + BrokenPieceB gohan.Entity + CamMoving bool + CamScale float64 + CamX float64 + CamY float64 + CreepEntities []gohan.Entity + CreepRects []image.Rectangle + Debug int + DisableEsc bool + GameOver bool + GameStarted bool + GameStartedTicks int + HazardRects []image.Rectangle + Map *tiled.Map + MessageDuration int + MessageText string + MessageTicks int + MessageUpdated bool + MessageVisible bool + NativeResolution bool + NoClip bool + ObjectGroups []*tiled.ObjectGroup + Player gohan.Entity + PlayerHeight float64 + PlayerWidth float64 + PlayerX float64 + PlayerY float64 + ResetGame bool + ScreenH int + ScreenW int + TileImages map[uint32]*ebiten.Image + TriggerEntities []gohan.Entity + TriggerNames []string + TriggerRects []image.Rectangle + func (w *GameWorld) SetGameOver(vx, vy float64)