C# Class SafeAndFree.Tower

Logic for tower objects.
Inheritance: Actor
ファイルを表示 Open project: mokasocial/PrivacyDefense Class Usage Examples

Public Methods

Method Description
Fire ( ) : WeaponStats
GetLevelInfo ( int &currAtk, int &currRange, int &currAtkDelay, int &cost, int &nextAtk, int &nextRange, int &nextAtkDelay ) : void
GetTowerStats ( ) : TowerStats
GetWeaponStats ( ) : WeaponStats
LevelUp ( ) : void
Tower ( TowerStats tStats, WeaponStats wStats, MEDIA_ID textureID, Vector2 startPosition, TowerTypes type ) : System
Update ( ) : void

Method Details

Fire() public method

public Fire ( ) : WeaponStats
return SafeAndFree.Data.WeaponStats

GetLevelInfo() public method

public GetLevelInfo ( int &currAtk, int &currRange, int &currAtkDelay, int &cost, int &nextAtk, int &nextRange, int &nextAtkDelay ) : void
currAtk int
currRange int
currAtkDelay int
cost int
nextAtk int
nextRange int
nextAtkDelay int
return void

GetTowerStats() public method

public GetTowerStats ( ) : TowerStats
return SafeAndFree.Data.TowerStats

GetWeaponStats() public method

public GetWeaponStats ( ) : WeaponStats
return SafeAndFree.Data.WeaponStats

LevelUp() public method

public LevelUp ( ) : void
return void

Tower() public method

public Tower ( TowerStats tStats, WeaponStats wStats, MEDIA_ID textureID, Vector2 startPosition, TowerTypes type ) : System
tStats SafeAndFree.Data.TowerStats
wStats SafeAndFree.Data.WeaponStats
textureID MEDIA_ID
startPosition Vector2
type TowerTypes
return System

Update() public method

public Update ( ) : void
return void