C# Class BrickData, CatapultKing

Show file Open project: VirsixInc/CatapultKing Class Usage Examples

Public Properties

Property Type Description
assocBlock brick,
id int
isDead bool
maxHealth int

Public Methods

Method Description
BrickData ( int maxHealthToSet, int idToSet, brick, assocBlockToSet, GameManager gmToSet ) : System
checkBlock ( ) : bool
updateBlock ( int healthToSet ) : bool

Method Details

BrickData() public method

public BrickData ( int maxHealthToSet, int idToSet, brick, assocBlockToSet, GameManager gmToSet ) : System
maxHealthToSet int
idToSet int
assocBlockToSet brick,
gmToSet GameManager
return System

checkBlock() public method

public checkBlock ( ) : bool
return bool

updateBlock() public method

public updateBlock ( int healthToSet ) : bool
healthToSet int
return bool

Property Details

assocBlock public property

public brick, assocBlock
return brick,

id public property

public int id
return int

isDead public property

public bool isDead
return bool

maxHealth public property

public int maxHealth
return int