package
Version:
v0.0.0-...-2d400ac
Opens a new window with list of versions in this module.
Published: Aug 3, 2019
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Mutation functions are applied to a given game state, returning an updated state.
Debug toggles the debug flag on the game.
Expire will iterate over objects, clearing them if they are expired.
Income increases the funds currently available to the game based on revenue.
Interact mutates the state based on the current mode.
Intramode interacts with the current state based on the mode.
Mode toggles the game cursor's current mode.
Move translates the current game's cursor by the provided x and y amounts.
Resize mutations update the game's viewport dimensions.
Turn is a mutation that will queue up a new turn.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.