Property | Type | Description | |
---|---|---|---|
ActiveGameManager | |||
GameObjects | List |
||
UnregisterEvent | Action |
Method | Description | |
---|---|---|
GameManager ( ) : System | ||
Register ( IGameObject gameObject ) : void |
Add a object to the scene, gameObject is a IGameObject
|
|
RunTurn ( ) : void |
When all decisions and actions are selected "RunTurn" should be called, and it will iterate through all the gameObjects and run their "Actions". Action is run on each GameObject in "GameObject" ordered by Descending Initative.
|
|
SelectNextCharacter ( ) : void |
Sets CurrentCharacter To the next character in Party.
|
|
Unregister ( IGameObject gameObject ) : void |
When somebody dies, or when a gameobject doesnt need to be called anyMore, Use Unregister, and it will be removes before the next "Turn"
|
Method | Description | |
---|---|---|
SelectedCarachterOpaciySet ( ) : void |
public Register ( IGameObject gameObject ) : void | ||
gameObject | IGameObject | |
return | void |
public Unregister ( IGameObject gameObject ) : void | ||
gameObject | IGameObject | |
return | void |
public static GameManager,GameEngine ActiveGameManager | ||
return |