C# 클래스 UHSampleGame.CoreObjects.Towers.TowerCollection

파일 보기 프로젝트 열기: holtkampw/UH-Sample-XNA-Project

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
DrawInstancedTowers ( int playerNum, int towerType, int amount ) : void
DrawTowers ( int i, int j ) : void

메소드 상세

Add() 공개 정적인 메소드

public static Add ( int playerNum, int teamNum, int money, TowerType towerType, Vector3 position ) : Tower
playerNum int
teamNum int
money int
towerType TowerType
position Vector3
리턴 Tower

AllTowerCount() 공개 정적인 메소드

public static AllTowerCount ( ) : int
리턴 int

Destroy() 공개 정적인 메소드

public static Destroy ( Tower &tower ) : void
tower Tower
리턴 void

DestroyAll() 공개 정적인 메소드

public static DestroyAll ( int playerNum ) : bool
playerNum int
리턴 bool

Draw() 공개 정적인 메소드

public static Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void

Initialize() 공개 정적인 메소드

public static Initialize ( int numPlayers ) : void
numPlayers int
리턴 void

Remove() 공개 정적인 메소드

public static Remove ( int teamNum, Vector3 &position ) : int
teamNum int
position Vector3
리턴 int

RemoveStrongTowersFor() 공개 정적인 메소드

public static RemoveStrongTowersFor ( int PlayerNum ) : void
PlayerNum int
리턴 void

Repair() 공개 정적인 메소드

public static Repair ( int teamNum, int money, Vector3 &position ) : int
teamNum int
money int
position Vector3
리턴 int

SetAllNoShoot() 공개 정적인 메소드

public static SetAllNoShoot ( int playerNum ) : void
playerNum int
리턴 void

SetStrongTowersFor() 공개 정적인 메소드

public static SetStrongTowersFor ( int PlayerNum ) : void
PlayerNum int
리턴 void

Update() 공개 정적인 메소드

public static Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void

Upgrade() 공개 정적인 메소드

public static Upgrade ( int teamNum, int money, Vector3 &position ) : int
teamNum int
money int
position Vector3
리턴 int

UseBombasticOn() 공개 정적인 메소드

public static UseBombasticOn ( int attackPlayer, int amount ) : void
attackPlayer int
amount int
리턴 void