S.A.P.S V0.4.0
A virtual reality stealth action game
 
Loading...
Searching...
No Matches
Contract Class Reference

Activates the end platform when completed, or ends the game when player has failed. More...

Inheritance diagram for Contract:
Singleton< T >

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< HurtboxNpcs [get, set]
 
float GoalTime [get]
 
float TimeLimit [get]
 
float TimeSpent [get]
 
State CurrentState [get]
 
- Properties inherited from Singleton< T >
static T Instance [get]
 

Additional Inherited Members

- Protected Member Functions inherited from Singleton< T >
virtual void Awake ()
 

Detailed Description

Activates the end platform when completed, or ends the game when player has failed.

Member Enumeration Documentation

◆ State

Enumerator
PLAYING 
OUT_OF_TIME 
KILLED_TOO_MANY_NPCS 
COMPLETED 
TARGET_ESCAPED 

Member Function Documentation

◆ AddNPC()

void Contract.AddNPC ( GameObject npcObject)

◆ EndContract()

void Contract.EndContract ( )

Property Documentation

◆ CurrentState

State Contract.CurrentState
get

◆ GoalTime

float Contract.GoalTime
get

◆ InnocentKillLimit

int Contract.InnocentKillLimit
get

◆ InnocentsKilled

int Contract.InnocentsKilled
getset

◆ Npcs

List<Hurtbox> Contract.Npcs
getset

◆ TimeLimit

float Contract.TimeLimit
get

◆ TimeSpent

float Contract.TimeSpent
get

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