C# Class Game.GameEngineApp

Defines a game application.
Inheritance: EngineApp
Mostra file Open project: DarrenHassan/GDM4242-GroupD Class Usage Examples

Private Properties

Property Type Description
ChangeToBetterDefaultSettings void
Client_EntitySystemService_WorldCreateBegin void
Client_EntitySystemService_WorldCreateEnd void
ConsoleCommand_ShowDebugInformationWindow void
CreateGameWindowByGameType GameWindow
Log_Handlers_ErrorHandler void
Log_Handlers_FatalHandler void
Log_Handlers_InfoHandler void
Log_Handlers_WarningHandler void
MakeScreenshot void
ShowDebugInformationWindow void
SimulatePhysicsForLoadedMap void

Public Methods

Method Description
Client_DisconnectFromServer ( ) : void
Client_OnConnectedToServer ( ) : void
CreateGameWindowForMap ( ) : void
DeleteAllGameWindows ( ) : void
ServerOrSingle_MapLoad ( string fileName, WorldType worldType, bool noChangeWindows ) : bool
Server_DestroyServer ( string reason ) : void
Server_OnCreateServer ( ) : void
SetNeedMapCreateForDynamicMapExample ( ) : void
SetNeedMapLoad ( string fileName ) : void
SetNeedWorldLoad ( string fileName ) : void
WorldLoad ( string fileName ) : bool
WorldSave ( string fileName ) : bool

Protected Methods

Method Description
OnCreate ( ) : bool
OnCustomInputDeviceEvent ( InputEvent e ) : bool
OnDestroy ( ) : void
OnJoystickEvent ( JoystickInputEvent e ) : bool
OnKeyDown ( KeyEvent e ) : bool
OnKeyPress ( KeyPressEvent e ) : bool
OnKeyUp ( KeyEvent e ) : bool
OnMouseDoubleClick ( EMouseButtons button ) : bool
OnMouseDown ( EMouseButtons button ) : bool
OnMouseMove ( Vec2 mouse ) : void
OnMouseUp ( EMouseButtons button ) : bool
OnMouseWheel ( int delta ) : bool
OnRegisterConfigParameter ( Config parameter ) : void
OnRenderFrame ( ) : void
OnRenderScreenUI ( GuiRenderer renderer ) : void
OnSystemPause ( bool pause ) : void
OnTick ( float delta ) : void

Private Methods

Method Description
ChangeToBetterDefaultSettings ( ) : void
Client_EntitySystemService_WorldCreateBegin ( ProjectCommon.EntitySystemClientNetworkService sender, WorldType worldType, string mapVirtualFileName ) : void
Client_EntitySystemService_WorldCreateEnd ( ProjectCommon.EntitySystemClientNetworkService sender ) : void
ConsoleCommand_ShowDebugInformationWindow ( string arguments ) : void
CreateGameWindowByGameType ( GameMap gameType ) : GameWindow
Log_Handlers_ErrorHandler ( string text, bool &handled ) : void
Log_Handlers_FatalHandler ( string text, bool &handled ) : void
Log_Handlers_InfoHandler ( string text ) : void
Log_Handlers_WarningHandler ( string text, bool &handled ) : void
MakeScreenshot ( ) : void
ShowDebugInformationWindow ( bool show ) : void
SimulatePhysicsForLoadedMap ( float seconds ) : void

Method Details

Client_DisconnectFromServer() public method

public Client_DisconnectFromServer ( ) : void
return void

Client_OnConnectedToServer() public method

public Client_OnConnectedToServer ( ) : void
return void

CreateGameWindowForMap() public method

public CreateGameWindowForMap ( ) : void
return void

DeleteAllGameWindows() public method

public DeleteAllGameWindows ( ) : void
return void

OnCreate() protected method

protected OnCreate ( ) : bool
return bool

OnCustomInputDeviceEvent() protected method

protected OnCustomInputDeviceEvent ( InputEvent e ) : bool
e InputEvent
return bool

OnDestroy() protected method

protected OnDestroy ( ) : void
return void

OnJoystickEvent() protected method

protected OnJoystickEvent ( JoystickInputEvent e ) : bool
e JoystickInputEvent
return bool

OnKeyDown() protected method

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

OnKeyPress() protected method

protected OnKeyPress ( KeyPressEvent e ) : bool
e KeyPressEvent
return bool

OnKeyUp() protected method

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

OnMouseDoubleClick() protected method

protected OnMouseDoubleClick ( EMouseButtons button ) : bool
button EMouseButtons
return bool

OnMouseDown() protected method

protected OnMouseDown ( EMouseButtons button ) : bool
button EMouseButtons
return bool

OnMouseMove() protected method

protected OnMouseMove ( Vec2 mouse ) : void
mouse Vec2
return void

OnMouseUp() protected method

protected OnMouseUp ( EMouseButtons button ) : bool
button EMouseButtons
return bool

OnMouseWheel() protected method

protected OnMouseWheel ( int delta ) : bool
delta int
return bool

OnRegisterConfigParameter() protected method

protected OnRegisterConfigParameter ( Config parameter ) : void
parameter Config
return void

OnRenderFrame() protected method

protected OnRenderFrame ( ) : void
return void

OnRenderScreenUI() protected method

protected OnRenderScreenUI ( GuiRenderer renderer ) : void
renderer GuiRenderer
return void

OnSystemPause() protected method

protected OnSystemPause ( bool pause ) : void
pause bool
return void

OnTick() protected method

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

ServerOrSingle_MapLoad() public method

public ServerOrSingle_MapLoad ( string fileName, WorldType worldType, bool noChangeWindows ) : bool
fileName string
worldType WorldType
noChangeWindows bool
return bool

Server_DestroyServer() public method

public Server_DestroyServer ( string reason ) : void
reason string
return void

Server_OnCreateServer() public method

public Server_OnCreateServer ( ) : void
return void

SetNeedMapCreateForDynamicMapExample() public method

public SetNeedMapCreateForDynamicMapExample ( ) : void
return void

SetNeedMapLoad() public method

public SetNeedMapLoad ( string fileName ) : void
fileName string
return void

SetNeedWorldLoad() public method

public SetNeedWorldLoad ( string fileName ) : void
fileName string
return void

WorldLoad() public method

public WorldLoad ( string fileName ) : bool
fileName string
return bool

WorldSave() public method

public WorldSave ( string fileName ) : bool
fileName string
return bool