C# Class UHSampleGame.PowerManagement.PowerManager

显示文件 Open project: holtkampw/UH-Sample-XNA-Project

Public Properties

Property Type Description
NumPowers int
actionPlayers List
playerPowers UHSampleGame.PowerManagement.PlayerPower[][]
powerInformation UHSampleGame.PowerManagement.PowerInformation[]
powerTypes System.Enum[]
tempPlayers List

Public Methods

Method Description
AddPower ( PowerType type, int PlayerNum ) : void
Draw ( GameTime gameTime ) : void
Initialize ( ) : void
Update ( GameTime gameTime ) : void

Private Methods

Method Description
Bombastic ( int PlayerNum ) : void
EMP ( int PlayerNum ) : void
FreezeEnemies ( int PlayerNum ) : void
RemoveEMP ( int PlayerNum, int index ) : void
RemoveFreezeEnemies ( int PlayerNum, int index ) : void
RemoveRezone ( int PlayerNum, int index ) : void
RemoveStrongTowers ( int PlayerNum ) : void
Rezone ( int PlayerNum ) : void
StrongTowers ( int PlayerNum ) : void

Method Details

AddPower() public static method

public static AddPower ( PowerType type, int PlayerNum ) : void
type PowerType
PlayerNum int
return void

Draw() public static method

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

Initialize() public static method

public static Initialize ( ) : void
return void

Update() public static method

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

Property Details

NumPowers public_oe static_oe property

public static int NumPowers
return int

actionPlayers public_oe static_oe property

public static List actionPlayers
return List

playerPowers public_oe static_oe property

public static PlayerPower[][],UHSampleGame.PowerManagement playerPowers
return UHSampleGame.PowerManagement.PlayerPower[][]

powerInformation public_oe static_oe property

public static PowerInformation[],UHSampleGame.PowerManagement powerInformation
return UHSampleGame.PowerManagement.PowerInformation[]

powerTypes public_oe static_oe property

public static Enum[],System powerTypes
return System.Enum[]

tempPlayers public_oe static_oe property

public static List tempPlayers
return List