Documentation
¶
Index ¶
- type Achievements
- type AssignHaulers
- type Build
- type Cheats
- type DoConsumption
- type DoProduction
- type GameControls
- type Haul
- type InitTerrain
- type InitTerrainLoaded
- type InitTerrainMap
- type InitUI
- type PanAndZoom
- type RemoveMarkers
- type SaveGame
- type Tick
- type UpdatePopulation
- type UpdateProduction
- type UpdateStats
- type UpdateUI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Achievements ¶ added in v0.2.0
type Achievements struct {
PlayerFile string
// contains filtered or unexported fields
}
Achievements system.
func (*Achievements) Finalize ¶ added in v0.2.0
func (s *Achievements) Finalize(world *ecs.World)
Finalize the system
func (*Achievements) Initialize ¶ added in v0.2.0
func (s *Achievements) Initialize(world *ecs.World)
Initialize the system
func (*Achievements) Update ¶ added in v0.2.0
func (s *Achievements) Update(world *ecs.World)
Update the system
type AssignHaulers ¶
type AssignHaulers struct {
// contains filtered or unexported fields
}
AssignHaulers system.
func (*AssignHaulers) Finalize ¶
func (s *AssignHaulers) Finalize(world *ecs.World)
Finalize the system
func (*AssignHaulers) Initialize ¶
func (s *AssignHaulers) Initialize(world *ecs.World)
Initialize the system
type DoConsumption ¶
type DoConsumption struct {
// contains filtered or unexported fields
}
DoConsumption system.
func (*DoConsumption) Finalize ¶
func (s *DoConsumption) Finalize(world *ecs.World)
Finalize the system
func (*DoConsumption) Initialize ¶
func (s *DoConsumption) Initialize(world *ecs.World)
Initialize the system
type DoProduction ¶
type DoProduction struct {
// contains filtered or unexported fields
}
DoProduction system.
func (*DoProduction) Finalize ¶
func (s *DoProduction) Finalize(world *ecs.World)
Finalize the system
func (*DoProduction) Initialize ¶
func (s *DoProduction) Initialize(world *ecs.World)
Initialize the system
type GameControls ¶
type GameControls struct {
PauseKey ebiten.Key
SlowerKey rune
FasterKey rune
FullscreenKey ebiten.Key
// contains filtered or unexported fields
}
GameControls system.
func (*GameControls) Finalize ¶
func (s *GameControls) Finalize(world *ecs.World)
Finalize the system
func (*GameControls) Initialize ¶
func (s *GameControls) Initialize(world *ecs.World)
Initialize the system
type InitTerrain ¶
type InitTerrain struct {
}
InitTerrain system.
func (*InitTerrain) Initialize ¶
func (s *InitTerrain) Initialize(world *ecs.World)
Initialize the system
type InitTerrainLoaded ¶
type InitTerrainLoaded struct {
}
InitTerrainLoaded system.
func (*InitTerrainLoaded) Finalize ¶
func (s *InitTerrainLoaded) Finalize(world *ecs.World)
Finalize the system
func (*InitTerrainLoaded) Initialize ¶
func (s *InitTerrainLoaded) Initialize(world *ecs.World)
Initialize the system
func (*InitTerrainLoaded) Update ¶
func (s *InitTerrainLoaded) Update(world *ecs.World)
Update the system
type InitTerrainMap ¶ added in v0.2.0
type InitTerrainMap struct {
FS fs.FS
MapFolder string
Map save.MapLocation
}
InitTerrainMap system.
func (*InitTerrainMap) Finalize ¶ added in v0.2.0
func (s *InitTerrainMap) Finalize(world *ecs.World)
Finalize the system
func (*InitTerrainMap) Initialize ¶ added in v0.2.0
func (s *InitTerrainMap) Initialize(world *ecs.World)
Initialize the system
func (*InitTerrainMap) Update ¶ added in v0.2.0
func (s *InitTerrainMap) Update(world *ecs.World)
Update the system
type InitUI ¶ added in v0.2.0
type InitUI struct {
// contains filtered or unexported fields
}
InitUI system.
func (*InitUI) Initialize ¶ added in v0.2.0
Initialize the system
type PanAndZoom ¶
type PanAndZoom struct {
PanButton ebiten.MouseButton
ZoomInKey rune
ZoomOutKey rune
KeyboardPanSpeed int
MinZoom float64
MaxZoom float64
// contains filtered or unexported fields
}
PanAndZoom system.
func (*PanAndZoom) Initialize ¶
func (s *PanAndZoom) Initialize(world *ecs.World)
Initialize the system
type RemoveMarkers ¶
type RemoveMarkers struct {
MaxTime int64
// contains filtered or unexported fields
}
RemoveMarkers system.
func (*RemoveMarkers) Finalize ¶
func (s *RemoveMarkers) Finalize(world *ecs.World)
Finalize the system
func (*RemoveMarkers) Initialize ¶
func (s *RemoveMarkers) Initialize(world *ecs.World)
Initialize the system
type SaveGame ¶
type SaveGame struct {
SaveFolder string
MapFolder string
Name string
MainMenuFunc func()
// contains filtered or unexported fields
}
SaveGame system.
type UpdatePopulation ¶
type UpdatePopulation struct {
// contains filtered or unexported fields
}
UpdatePopulation system.
func (*UpdatePopulation) Finalize ¶
func (s *UpdatePopulation) Finalize(world *ecs.World)
Finalize the system
func (*UpdatePopulation) Initialize ¶
func (s *UpdatePopulation) Initialize(world *ecs.World)
Initialize the system
func (*UpdatePopulation) Update ¶
func (s *UpdatePopulation) Update(world *ecs.World)
Update the system
type UpdateProduction ¶
type UpdateProduction struct {
// contains filtered or unexported fields
}
UpdateProduction system.
func (*UpdateProduction) Finalize ¶
func (s *UpdateProduction) Finalize(world *ecs.World)
Finalize the system
func (*UpdateProduction) Initialize ¶
func (s *UpdateProduction) Initialize(world *ecs.World)
Initialize the system
func (*UpdateProduction) Update ¶
func (s *UpdateProduction) Update(world *ecs.World)
Update the system
type UpdateStats ¶
type UpdateStats struct {
// contains filtered or unexported fields
}
UpdateStats system.
func (*UpdateStats) Initialize ¶
func (s *UpdateStats) Initialize(world *ecs.World)
Initialize the system