Blaze Brigade
Model.GameState Class Reference

This class holds states in the scope of the entire gameplay More...

Static Public Attributes

static readonly int SCREEN_HEIGHT = 640
 
static readonly int SCREEN_WIDTH = 960
 

Properties

static bool playableUnitSelected [get, set]
 
static Unit selectedUnit [get, set]
 
static Unit unitToAttack [get, set]
 
static Player currentPlayer [get, set]
 
static Player enemyPlayer [get, set]
 
static bool dropDownMenuOpen [get, set]
 
static bool attackConfirmOpen [get, set]
 
static bool beforeMove [get, set]
 
static bool isAnimating [get, set]
 
static LinkedList< NodemoveableNodes [get, set]
 

Detailed Description

This class holds states in the scope of the entire gameplay

Property Documentation

§ attackConfirmOpen

bool Model.GameState.attackConfirmOpen
staticgetset

Sets and gets whether attackConfirm menu should be open

§ beforeMove

bool Model.GameState.beforeMove
staticgetset

Sets and gets if a unit has moved yet or not. beforeMOve is true before unit moves, false after it moves. Used to determine what tiles are highlighted

§ currentPlayer

Player Model.GameState.currentPlayer
staticgetset

Sets and gets the current player

§ dropDownMenuOpen

bool Model.GameState.dropDownMenuOpen
staticgetset

Sets and gets whether drop down menu should be open

§ enemyPlayer

Player Model.GameState.enemyPlayer
staticgetset

Sets and gets the enemy player

§ playableUnitSelected

bool Model.GameState.playableUnitSelected
staticgetset

Sets and gets if a playable unit is selected

§ selectedUnit

Unit Model.GameState.selectedUnit
staticgetset

Sets and gets a unit

§ unitToAttack

Unit Model.GameState.unitToAttack
staticgetset

Sets and gets the unit to attack


The documentation for this class was generated from the following file: