C# Class Game.JigsawPuzzleGameWindow

Defines a game window for Jigsaw Puzzle Game Example
Inheritance: GameWindow
Mostra file Open project: DarrenHassan/GDM4242-GroupD

Protected Methods

Method Description
OnAttach ( ) : void
OnDetach ( ) : void
OnFreeCameraIsAllowToMove ( ) : bool
OnGetCameraTransform ( Vec3 &position, Vec3 &forward, Vec3 &up, Degree &cameraFov ) : void
OnKeyDown ( KeyEvent e ) : bool
OnMouseDown ( EMouseButtons button ) : bool
OnMouseUp ( EMouseButtons button ) : bool
OnRender ( ) : void
OnRenderUI ( GuiRenderer renderer ) : void
OnTick ( float delta ) : void

Private Methods

Method Description
AddScreenMessage ( string text ) : void
ChatMessageEditBox_PreKeyDown ( KeyEvent e, bool &handled ) : void
Client_ChatService_ReceiveText ( ProjectCommon.ChatClientNetworkService sender, ProjectCommon.UserManagementClientNetworkService fromUser, string text ) : void
GetGameAreaCursorPosition ( Vec2 &position ) : bool
GetPieceByCursor ( ) : ProjectEntities.JigsawPuzzlePiece
RenderPieceSelectionBorder ( ProjectEntities.JigsawPuzzlePiece piece, bool selected ) : void
SayChatMessage ( ) : void
Server_ChatService_ReceiveText ( ProjectCommon.ChatServerNetworkService sender, ProjectCommon.UserManagementServerNetworkService fromUser, string text, ProjectCommon.UserManagementServerNetworkService privateToUser ) : void
UpdateHUD ( ) : void
UpdateShouldSendMovingPiecePositionToServer ( bool obligatoryToSend ) : void

Method Details

OnAttach() protected method

protected OnAttach ( ) : void
return void

OnDetach() protected method

protected OnDetach ( ) : void
return void

OnFreeCameraIsAllowToMove() protected method

protected OnFreeCameraIsAllowToMove ( ) : bool
return bool

OnGetCameraTransform() protected method

protected OnGetCameraTransform ( Vec3 &position, Vec3 &forward, Vec3 &up, Degree &cameraFov ) : void
position Vec3
forward Vec3
up Vec3
cameraFov Degree
return void

OnKeyDown() protected method

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

OnMouseDown() protected method

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

OnMouseUp() protected method

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

OnRender() protected method

protected OnRender ( ) : void
return void

OnRenderUI() protected method

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

OnTick() protected method

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