C# Class BossHealthScript, Heracles

Inheritance: MonoBehaviour
Exibir arquivo Open project: TrinityUniversityGameDesign/Heracles Class Usage Examples

Public Properties

Property Type Description
currenthealth int
heart UnityEngine.Texture2D
maxHealth int
respawnPos Vector2

Public Methods

Method Description
damagePlayer ( int damage ) : void
healPlayer ( int healing ) : void

Private Methods

Method Description
OnGUI ( ) : void
OnTriggerEnter2D ( Collider2D otherCollider ) : void
Update ( ) : void

Method Details

damagePlayer() public method

public damagePlayer ( int damage ) : void
damage int
return void

healPlayer() public method

public healPlayer ( int healing ) : void
healing int
return void

Property Details

currenthealth public_oe property

public int currenthealth
return int

heart public_oe property

public Texture2D,UnityEngine heart
return UnityEngine.Texture2D

maxHealth public_oe property

public int maxHealth
return int

respawnPos public_oe static_oe property

public static Vector2 respawnPos
return Vector2