C# Class BT_HealthScript, Heracles

Inheritance: MonoBehaviour
Show file Open project: TrinityUniversityGameDesign/Heracles Class Usage Examples

Public Properties

Property Type Description
healthPhases int[]
isInvincible bool
respawnPos Vector2

Public Methods

Method Description
DoDamage ( int amount ) : void
DoDie ( ) : void
GetHealth ( ) : int
GetPhase ( ) : int
ResetHealth ( ) : void
Start ( ) : void
Update ( ) : void
setupNewPhase ( ) : void

Method Details

DoDamage() public method

public DoDamage ( int amount ) : void
amount int
return void

DoDie() public method

public DoDie ( ) : void
return void

GetHealth() public method

public GetHealth ( ) : int
return int

GetPhase() public method

public GetPhase ( ) : int
return int

ResetHealth() public method

public ResetHealth ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

setupNewPhase() public method

public setupNewPhase ( ) : void
return void

Property Details

healthPhases public property

public int[] healthPhases
return int[]

isInvincible public property

public bool isInvincible
return bool

respawnPos public property

public Vector2 respawnPos
return Vector2