C# Class BattleManager

Inheritance: MonoBehaviour
Exibir arquivo Open project: Izulkara/MagicBox Class Usage Examples

Public Properties

Property Type Description
Camera GameObject
CameraTarget Camera
RNG System.Random
angleView bool
enemyUnits List
friendlyUnits List
isPlayerTurn bool
ratio float
selectedTile Tile
selectedUnit Unit
theGrid Grid

Public Methods

Method Description
endPlayerTurn ( ) : void
togglePerspective ( ) : void

Private Methods

Method Description
Start ( ) : void
Update ( ) : void
executeAITurn ( ) : void
explore ( Unit u, int moves, Tile curTile, List list ) : void
findClosestUnit ( Unit currentUnit ) : Unit
findMovableTile ( Unit u ) : Tile

Method Details

endPlayerTurn() public method

public endPlayerTurn ( ) : void
return void

togglePerspective() public method

public togglePerspective ( ) : void
return void

Property Details

Camera public_oe property

public GameObject Camera
return GameObject

CameraTarget public_oe property

public Camera CameraTarget
return Camera

RNG public_oe static_oe property

public static Random,System RNG
return System.Random

angleView public_oe property

public bool angleView
return bool

enemyUnits public_oe property

public List enemyUnits
return List

friendlyUnits public_oe property

public List friendlyUnits
return List

isPlayerTurn public_oe property

public bool isPlayerTurn
return bool

ratio public_oe property

public float ratio
return float

selectedTile public_oe property

public Tile selectedTile
return Tile

selectedUnit public_oe property

public Unit selectedUnit
return Unit

theGrid public_oe property

public Grid theGrid
return Grid