C# Class Game.MainMenuWindow

Defines a main menu.
Inheritance: Control
Datei anzeigen Open project: DarrenHassan/GDM4242-GroupD Class Usage Examples

Protected Methods

Method Description
OnAttach ( ) : void

Creates a window of the main menu and creates the background world.

OnDetach ( ) : void

Destroys the background world at closing the main menu.

OnKeyDown ( KeyEvent e ) : bool
OnRender ( ) : void
OnTick ( float delta ) : void

Private Methods

Method Description
Back_Click ( EButton sender ) : void
CreateMap ( ) : void

Creates the background world.

DestroyMap ( ) : void

Destroys the background world.

Faction_Click ( EButton sender ) : void
ToggleFaction_Click ( EButton sender ) : void
listBox_SelectedIndexChanged ( object sender ) : void

Method Details

OnAttach() protected method

Creates a window of the main menu and creates the background world.
protected OnAttach ( ) : void
return void

OnDetach() protected method

Destroys the background world at closing the main menu.
protected OnDetach ( ) : void
return void

OnKeyDown() protected method

protected OnKeyDown ( KeyEvent e ) : bool
e KeyEvent
return bool

OnRender() protected method

protected OnRender ( ) : void
return void

OnTick() protected method

protected OnTick ( float delta ) : void
delta float
return void