C# Class Lion_Boss_Flipper_Script, Heracles

Handle hitpoints and damages
Inheritance: MonoBehaviour
Datei anzeigen Open project: TrinityUniversityGameDesign/Heracles

Public Properties

Property Type Description
isEnemy bool
mode int
numModes int

Public Methods

Method Description
Damage ( int damageCount ) : void

Inflicts damage and check if the object should be destroyed

OnTriggerEnter2D ( Collider2D otherCollider ) : void
Start ( ) : void

Method Details

Damage() public method

Inflicts damage and check if the object should be destroyed
public Damage ( int damageCount ) : void
damageCount int
return void

OnTriggerEnter2D() public method

public OnTriggerEnter2D ( Collider2D otherCollider ) : void
otherCollider UnityEngine.Collider2D
return void

Start() public method

public Start ( ) : void
return void

Property Details

isEnemy public_oe property

Enemy or player?
public bool isEnemy
return bool

mode public_oe property

Total hitpoints
public int mode
return int

numModes public_oe property

public int numModes
return int