systems

package
v0.0.0-...-e9d204a Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GridTransformSystem

func GridTransformSystem(world w.World)

GridTransformSystem sets transform for grid elements

func GridUpdateSystem

func GridUpdateSystem(world w.World)

GridUpdateSystem updates grid elements

func InfoSystem

func InfoSystem(world w.World, solutionMode bool)

InfoSystem sets game info

func MoveSolutionSystem

func MoveSolutionSystem(world w.World, movements []resources.MovementType)

MoveSolutionSystem moves using the solution

func MoveSystem

func MoveSystem(world w.World)

MoveSystem moves player

func SaveSystem

func SaveSystem(world w.World)

SaveSystem saves current level

func SwitchLevelSystem

func SwitchLevelSystem(world w.World) bool

SwitchLevelSystem switches between levels

func UndoSystem

func UndoSystem(world w.World)

UndoSystem undoes the last move

Types

This section is empty.

Jump to

Keyboard shortcuts

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