C# Class BrickData, CatapultKing

显示文件 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_oe property

public brick, assocBlock
return brick,

id public_oe property

public int id
return int

isDead public_oe property

public bool isDead
return bool

maxHealth public_oe property

public int maxHealth
return int