C# Class UHSampleGame.CoreObjects.Towers.TowerCollection

Afficher le fichier Open project: holtkampw/UH-Sample-XNA-Project

Méthodes publiques

Méthode Description
Add ( int playerNum, int teamNum, int money, TowerType towerType, Vector3 position ) : Tower
AllTowerCount ( ) : int
Destroy ( Tower &tower ) : void
DestroyAll ( int playerNum ) : bool
Draw ( GameTime gameTime ) : void
Initialize ( int numPlayers ) : void
Remove ( int teamNum, Vector3 &position ) : int
RemoveStrongTowersFor ( int PlayerNum ) : void
Repair ( int teamNum, int money, Vector3 &position ) : int
SetAllNoShoot ( int playerNum ) : void
SetStrongTowersFor ( int PlayerNum ) : void
Update ( GameTime gameTime ) : void
Upgrade ( int teamNum, int money, Vector3 &position ) : int
UseBombasticOn ( int attackPlayer, int amount ) : void

Private Methods

Méthode Description
DrawInstancedTowers ( int playerNum, int towerType, int amount ) : void
DrawTowers ( int i, int j ) : void

Method Details

Add() public static méthode

public static Add ( int playerNum, int teamNum, int money, TowerType towerType, Vector3 position ) : Tower
playerNum int
teamNum int
money int
towerType TowerType
position Vector3
Résultat Tower

AllTowerCount() public static méthode

public static AllTowerCount ( ) : int
Résultat int

Destroy() public static méthode

public static Destroy ( Tower &tower ) : void
tower Tower
Résultat void

DestroyAll() public static méthode

public static DestroyAll ( int playerNum ) : bool
playerNum int
Résultat bool

Draw() public static méthode

public static Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

Initialize() public static méthode

public static Initialize ( int numPlayers ) : void
numPlayers int
Résultat void

Remove() public static méthode

public static Remove ( int teamNum, Vector3 &position ) : int
teamNum int
position Vector3
Résultat int

RemoveStrongTowersFor() public static méthode

public static RemoveStrongTowersFor ( int PlayerNum ) : void
PlayerNum int
Résultat void

Repair() public static méthode

public static Repair ( int teamNum, int money, Vector3 &position ) : int
teamNum int
money int
position Vector3
Résultat int

SetAllNoShoot() public static méthode

public static SetAllNoShoot ( int playerNum ) : void
playerNum int
Résultat void

SetStrongTowersFor() public static méthode

public static SetStrongTowersFor ( int PlayerNum ) : void
PlayerNum int
Résultat void

Update() public static méthode

public static Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

Upgrade() public static méthode

public static Upgrade ( int teamNum, int money, Vector3 &position ) : int
teamNum int
money int
position Vector3
Résultat int

UseBombasticOn() public static méthode

public static UseBombasticOn ( int attackPlayer, int amount ) : void
attackPlayer int
amount int
Résultat void