C# Class brick, CatapultKing

Inheritance: MonoBehaviour
Show file Open project: VirsixInc/CatapultKing Class Usage Examples

Public Properties

Property Type Description
currManager GameManager,
id int
isDead bool
maxHealth int

Public Methods

Method Description
DestroyBrick ( ) : void
OnCollisionEnter ( Collision col ) : void
OnTriggerExit ( Collider col ) : void
ReceiveDamage ( string type, float amt ) : bool
Start ( ) : void
Update ( ) : void

Method Details

DestroyBrick() public method

public DestroyBrick ( ) : void
return void

OnCollisionEnter() public method

public OnCollisionEnter ( Collision col ) : void
col Collision
return void

OnTriggerExit() public method

public OnTriggerExit ( Collider col ) : void
col Collider
return void

ReceiveDamage() public method

public ReceiveDamage ( string type, float amt ) : bool
type string
amt float
return bool

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

currManager public property

public GameManager, currManager
return GameManager,

id public property

public int id
return int

isDead public property

public bool isDead
return bool

maxHealth public property

public int maxHealth
return int