C# Class SafeAndFree.Tower

Logic for tower objects.
Inheritance: Actor
Afficher le fichier Open project: mokasocial/PrivacyDefense Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public Fire ( ) : WeaponStats
Résultat SafeAndFree.Data.WeaponStats

GetLevelInfo() public méthode

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
Résultat void

GetTowerStats() public méthode

public GetTowerStats ( ) : TowerStats
Résultat SafeAndFree.Data.TowerStats

GetWeaponStats() public méthode

public GetWeaponStats ( ) : WeaponStats
Résultat SafeAndFree.Data.WeaponStats

LevelUp() public méthode

public LevelUp ( ) : void
Résultat void

Tower() public méthode

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
Résultat System

Update() public méthode

public Update ( ) : void
Résultat void