Versions in this module Expand all Collapse all v1 v1.0.2 Jul 19, 2022 v1.0.1 Jun 13, 2022 v1.0.0 Jun 13, 2022 Changes in this version + const FishSpeedIncrease + const ScreenHeight + const ScreenWidth + const SectionWidth + const StartingRailSpeed + var NumberPrinter = message.NewPrinter(language.English) + var RailSpeed = StartingRailSpeed + var World = &GameWorld + func LevelCoordinatesToScreen(x, y float64) (float64, float64) + func LevelUp() + func MaxCreeps() int + func NeededKills() int + func Reset() + func ScreenToLevelCoordinates(x, y float64) (float64, float64) + func SetFish(fish level.FishType) + func SetMessage(message string, duration int) + func StartGame() + type GameWorld struct + CamMoving bool + CamScale float64 + CamX float64 + CamY float64 + Debug int + DisableEsc bool + FirstSectionB bool + Fish level.FishType + ForceSeed int64 + GameOver bool + GameStarted bool + GameStartedTicks int + GodMode bool + KillInfoUpdated bool + Kills int + LevelUpTicks int + MessageDuration int + MessageText string + MessageTicks int + MessageUpdated bool + MessageVisible bool + NeedKills int + NoClip bool + Player gohan.Entity + PlayerHeight float64 + PlayerWidth float64 + PlayerX float64 + PlayerY float64 + ResetGame bool + Score int + ScoreUpdated bool + SectionA *Section + SectionB *Section + StartMuted bool + Tick int + func (w *GameWorld) SetGameOver() + type Section struct + Creeps [][]gohan.Entity + Entities []gohan.Entity + ShoreDepth int + TileOccupied [][]bool + X float64 + Y float64 + func NewSection(x, y float64) *Section + func (s *Section) Regenerate(lastShoreDepth int) + func (s *Section) SetPosition(x float64, y float64)