sys

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2024 License: MIT Imports: 24 Imported by: 0

Documentation

Index

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

func (*AssignHaulers) Update

func (s *AssignHaulers) Update(world *ecs.World)

Update the system

type Build

type Build struct {
	// contains filtered or unexported fields
}

Build system.

func (*Build) Finalize

func (s *Build) Finalize(world *ecs.World)

Finalize the system

func (*Build) Initialize

func (s *Build) Initialize(world *ecs.World)

Initialize the system

func (*Build) Update

func (s *Build) Update(world *ecs.World)

Update the system

type Cheats

type Cheats struct {
	// contains filtered or unexported fields
}

Cheats system.

func (*Cheats) Finalize

func (s *Cheats) Finalize(world *ecs.World)

Finalize the system

func (*Cheats) Initialize

func (s *Cheats) Initialize(world *ecs.World)

Initialize the system

func (*Cheats) Update

func (s *Cheats) Update(world *ecs.World)

Update 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

func (*DoConsumption) Update

func (s *DoConsumption) Update(world *ecs.World)

Update 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

func (*DoProduction) Update

func (s *DoProduction) Update(world *ecs.World)

Update 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

func (*GameControls) Update

func (s *GameControls) Update(world *ecs.World)

Update the system

type Haul

type Haul struct {
	// contains filtered or unexported fields
}

Haul system.

func (*Haul) Finalize

func (s *Haul) Finalize(world *ecs.World)

Finalize the system

func (*Haul) Initialize

func (s *Haul) Initialize(world *ecs.World)

Initialize the system

func (*Haul) Update

func (s *Haul) Update(world *ecs.World)

Update the system

type InitTerrain

type InitTerrain struct {
}

InitTerrain system.

func (*InitTerrain) Finalize

func (s *InitTerrain) Finalize(world *ecs.World)

Finalize the system

func (*InitTerrain) Initialize

func (s *InitTerrain) Initialize(world *ecs.World)

Initialize the system

func (*InitTerrain) Update

func (s *InitTerrain) Update(world *ecs.World)

Update 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) Finalize added in v0.2.0

func (s *InitUI) Finalize(world *ecs.World)

Finalize the system

func (*InitUI) Initialize added in v0.2.0

func (s *InitUI) Initialize(world *ecs.World)

Initialize the system

func (*InitUI) Update added in v0.2.0

func (s *InitUI) Update(world *ecs.World)

Update 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) Finalize

func (s *PanAndZoom) Finalize(world *ecs.World)

Finalize the system

func (*PanAndZoom) Initialize

func (s *PanAndZoom) Initialize(world *ecs.World)

Initialize the system

func (*PanAndZoom) Update

func (s *PanAndZoom) Update(world *ecs.World)

Update 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

func (*RemoveMarkers) Update

func (s *RemoveMarkers) Update(world *ecs.World)

Update the system

type SaveGame

type SaveGame struct {
	SaveFolder string
	MapFolder  string
	Name       string

	MainMenuFunc func()
	// contains filtered or unexported fields
}

SaveGame system.

func (*SaveGame) Finalize

func (s *SaveGame) Finalize(world *ecs.World)

Finalize the system

func (*SaveGame) Initialize

func (s *SaveGame) Initialize(world *ecs.World)

Initialize the system

func (*SaveGame) Update

func (s *SaveGame) Update(world *ecs.World)

Update the system

type Tick

type Tick struct {
	// contains filtered or unexported fields
}

Tick system.

func (*Tick) Finalize

func (s *Tick) Finalize(world *ecs.World)

Finalize the system

func (*Tick) Initialize

func (s *Tick) Initialize(world *ecs.World)

Initialize the system

func (*Tick) Update

func (s *Tick) Update(world *ecs.World)

Update the system

type UpdatePopulation

type UpdatePopulation struct {
	// contains filtered or unexported fields
}

UpdateProduction 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) Finalize

func (s *UpdateStats) Finalize(world *ecs.World)

Finalize the system

func (*UpdateStats) Initialize

func (s *UpdateStats) Initialize(world *ecs.World)

Initialize the system

func (*UpdateStats) Update

func (s *UpdateStats) Update(world *ecs.World)

Update the system

type UpdateUI

type UpdateUI struct {
	// contains filtered or unexported fields
}

UpdateUI system.

func (*UpdateUI) Finalize

func (s *UpdateUI) Finalize(world *ecs.World)

Finalize the system

func (*UpdateUI) Initialize

func (s *UpdateUI) Initialize(world *ecs.World)

Initialize the system

func (*UpdateUI) Update

func (s *UpdateUI) Update(world *ecs.World)

Update the system

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL