C# Class spaceconquest.CommandMenu

Inheritance: MenuList
Datei anzeigen Open project: cclay/spaceconquest Class Usage Examples

Public Methods

Method Description
AddNewCommand ( int x, int y, String iconaddress, EventHandler c ) : IconButton
AddShipCommand ( int x, int y, String iconaddress, ShipType c ) : IconButton
AddShipStuff ( ) : void
CommandMenu ( Rectangle r, GameScreen gs ) : System
Draw ( ) : void
Update ( Microsoft.Xna.Framework.Input.MouseState mscurrent, Microsoft.Xna.Framework.Input.MouseState msold ) : void

Private Methods

Method Description
ColonizeClick ( Object o, EventArgs e ) : void
EnterClick ( Object o, EventArgs e ) : void
FireClick ( Object o, EventArgs e ) : void
JumpClick ( Object o, EventArgs e ) : void
MoveClick ( Object o, EventArgs e ) : void
UnloadClick ( Object o, EventArgs e ) : void

Method Details

AddNewCommand() public method

public AddNewCommand ( int x, int y, String iconaddress, EventHandler c ) : IconButton
x int
y int
iconaddress String
c EventHandler
return IconButton

AddShipCommand() public method

public AddShipCommand ( int x, int y, String iconaddress, ShipType c ) : IconButton
x int
y int
iconaddress String
c ShipType
return IconButton

AddShipStuff() public method

public AddShipStuff ( ) : void
return void

CommandMenu() public method

public CommandMenu ( Rectangle r, GameScreen gs ) : System
r Microsoft.Xna.Framework.Rectangle
gs GameScreen
return System

Draw() public method

public Draw ( ) : void
return void

Update() public method

public Update ( Microsoft.Xna.Framework.Input.MouseState mscurrent, Microsoft.Xna.Framework.Input.MouseState msold ) : void
mscurrent Microsoft.Xna.Framework.Input.MouseState
msold Microsoft.Xna.Framework.Input.MouseState
return void