Activates the end platform when completed, or ends the game when player has failed. More...
Public Types | |
enum | State { PLAYING , OUT_OF_TIME , KILLED_TOO_MANY_NPCS , COMPLETED , TARGET_ESCAPED } |
Public Member Functions | |
void | AddNPC (GameObject npcObject) |
void | EndContract () |
Properties | |
int | InnocentsKilled [get, set] |
int | InnocentKillLimit [get] |
List< Hurtbox > | Npcs [get, set] |
float | GoalTime [get] |
float | TimeLimit [get] |
float | TimeSpent [get] |
State | CurrentState [get] |
![]() | |
static T | Instance [get] |
Additional Inherited Members | |
![]() | |
virtual void | Awake () |
Activates the end platform when completed, or ends the game when player has failed.
enum Contract.State |
void Contract.AddNPC | ( | GameObject | npcObject | ) |
void Contract.EndContract | ( | ) |
|
get |
|
get |
|
get |
|
getset |
|
getset |
|
get |
|
get |