citadel

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BooleanVariable

func BooleanVariable(index int) *archive.GameVariableInfo

BooleanVariable returns a variable info for boolean variables.

func DefaultGameState

func DefaultGameState() *archive.GameState

DefaultGameState returns a new instance of a game state that the engine creates for a standard game.

func IntegerVariable

func IntegerVariable(index int) *archive.GameVariableInfo

IntegerVariable returns a variable info for integer variables.

Types

type MissionVariables

type MissionVariables struct{}

MissionVariables is a collector of mission-specific variable accessors.

func (MissionVariables) BooleanVariable

func (vars MissionVariables) BooleanVariable(index int) archive.GameVariableInfo

BooleanVariable returns a variable info for given index.

func (MissionVariables) IntegerVariable

func (vars MissionVariables) IntegerVariable(index int) archive.GameVariableInfo

IntegerVariable returns a variable info for given index.

Jump to

Keyboard shortcuts

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