C# Class Electric_Potatoe_TD.Tower

Inheritance: Node
Datei anzeigen Open project: Haseo/Electric-Potatoe-TD Class Usage Examples

Public Properties

Property Type Description
listTarget List

Protected Properties

Property Type Description
_counter int
_lastShoot int

Public Methods

Method Description
Tower ( float xPos, float yPos, int resistor, int cost, Game game ) : System
checkBulletHit ( ) : void
checkOutOfRange ( ) : void
getCostTower ( ) : int
getGame ( ) : Game
getTowerLevel ( ) : int
get_cost_tower ( EType type ) : int
levelUpTower ( ) : void
putInRange ( Mob mob ) : void
removeMobCorpse ( Mob mob ) : void
shoot ( Mob mob ) : void
update ( ) : void

Method Details

Tower() public method

public Tower ( float xPos, float yPos, int resistor, int cost, Game game ) : System
xPos float
yPos float
resistor int
cost int
game Game
return System

checkBulletHit() public method

public checkBulletHit ( ) : void
return void

checkOutOfRange() public method

public checkOutOfRange ( ) : void
return void

getCostTower() public method

public getCostTower ( ) : int
return int

getGame() public method

public getGame ( ) : Game
return Game

getTowerLevel() public method

public getTowerLevel ( ) : int
return int

get_cost_tower() public static method

public static get_cost_tower ( EType type ) : int
type EType
return int

levelUpTower() public method

public levelUpTower ( ) : void
return void

putInRange() public method

public putInRange ( Mob mob ) : void
mob Electric_Potatoe_TD.Mob.Mob
return void

removeMobCorpse() public method

public removeMobCorpse ( Mob mob ) : void
mob Electric_Potatoe_TD.Mob.Mob
return void

shoot() public method

public shoot ( Mob mob ) : void
mob Electric_Potatoe_TD.Mob.Mob
return void

update() public method

public update ( ) : void
return void

Property Details

_counter protected_oe property

protected int _counter
return int

_lastShoot protected_oe property

protected int _lastShoot
return int

listTarget public_oe property

public List listTarget
return List