Versions in this module Expand all Collapse all v1 v1.0.0 Dec 15, 2021 Changes in this version + const FireTileA + const FireTileB + const FireTileC + var World = &GameWorld + func LoadMap(filePath string) + func ObjectToRect(o *tiled.Object) image.Rectangle + func TileToGameCoords(x, y int) (float64, float64) + type GameWorld struct + CanDash bool + CanDoubleJump bool + CanLevitate bool + Dashes int + Debug int + DestructibleEntities []gohan.Entity + DestructibleRects []image.Rectangle + DisableEsc bool + DuckEnd float64 + DuckStart float64 + FadeInTicks int + FadingIn bool + GameOver bool + GameStarted bool + GameStartedTicks int + Jumps int + Keys int + Levitating bool + Map *tiled.Map + MessageText string + MessageTitle string + MessageUpdated bool + MessageVisible bool + NoClip bool + ObjectGroups []*tiled.ObjectGroup + OffsetX float64 + OffsetY float64 + Player gohan.Entity + Rewinding bool + ScreenH int + ScreenW int + SpawnX float64 + SpawnY float64 + StartedAt time.Time + TriggerEntities []gohan.Entity + TriggerNames []string + TriggerRects []image.Rectangle + func (w *GameWorld) SetMessage(message string)