C# Class BattleManager

Inheritance: MonoBehaviour
Afficher le fichier Open project: Izulkara/MagicBox Class Usage Examples

Méthodes publiques

Свойство 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

Méthodes publiques

Méthode Description
endPlayerTurn ( ) : void
togglePerspective ( ) : void

Private Methods

Méthode 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 méthode

public endPlayerTurn ( ) : void
Résultat void

togglePerspective() public méthode

public togglePerspective ( ) : void
Résultat void

Property Details

Camera public_oe property

public GameObject Camera
Résultat GameObject

CameraTarget public_oe property

public Camera CameraTarget
Résultat Camera

RNG public_oe static_oe property

public static Random,System RNG
Résultat System.Random

angleView public_oe property

public bool angleView
Résultat bool

enemyUnits public_oe property

public List enemyUnits
Résultat List

friendlyUnits public_oe property

public List friendlyUnits
Résultat List

isPlayerTurn public_oe property

public bool isPlayerTurn
Résultat bool

ratio public_oe property

public float ratio
Résultat float

selectedTile public_oe property

public Tile selectedTile
Résultat Tile

selectedUnit public_oe property

public Unit selectedUnit
Résultat Unit

theGrid public_oe property

public Grid theGrid
Résultat Grid