C# Class GameEntities.JigsawPuzzlePiece

The piece for puzzle game example.
Inheritance: MapObject
Show file Open project: DarrenHassan/GDM4242-GroupD Class Usage Examples

Private Properties

Property Type Description
ClientOrSingle_SoundPlay void
Client_ReceiveIndex void
Client_ReceiveMoveBegin void
Client_ReceiveMoveFinish void
Client_ReceivePosition void
CreateAttachedMesh void
CreateMesh void
DestroyAttachedMesh void
DestroyMesh void
Server_ReceiveMoveTryToBegin void
Server_ReceiveMoveTryToFinish void
Server_ReceiveMoveUpdatePosition void
Server_SendIndexToClients void
Server_SendPositionToClients void

Public Methods

Method Description
Client_MoveTryToBegin ( ) : void
Client_MoveTryToFinish ( ) : void
Client_MoveUpdatePosition ( Vec2 newPosition ) : void
ServerOrSingle_MoveFinish ( ) : void
ServerOrSingle_MoveUpdatePosition ( Vec2 newPosition ) : void
ServerOrSingle_SetIndex ( Vec2i index ) : void
Server_MoveBegin ( UserManagementServerNetworkService user ) : void
Single_MoveBegin ( ) : void

Protected Methods

Method Description
OnCalculateMapBounds ( Bounds &bounds ) : void
OnDestroy ( ) : void
OnPostCreate ( bool loaded ) : void
OnSetTransform ( Vec3 &pos, Quat &rot, Vec3 &scl ) : void
OnTick ( ) : void
Server_OnClientConnectedBeforePostCreate ( RemoteEntityWorld remoteEntityWorld ) : void
Server_OnClientDisconnected ( RemoteEntityWorld remoteEntityWorld ) : void

Private Methods

Method Description
ClientOrSingle_SoundPlay ( string soundName ) : void
Client_ReceiveIndex ( RemoteEntityWorld sender, ReceiveDataReader reader ) : void
Client_ReceiveMoveBegin ( RemoteEntityWorld sender, ReceiveDataReader reader ) : void
Client_ReceiveMoveFinish ( RemoteEntityWorld sender, ReceiveDataReader reader ) : void
Client_ReceivePosition ( RemoteEntityWorld sender, ReceiveDataReader reader ) : void
CreateAttachedMesh ( ) : void
CreateMesh ( ) : void
DestroyAttachedMesh ( ) : void
DestroyMesh ( ) : void
Server_ReceiveMoveTryToBegin ( RemoteEntityWorld sender, ReceiveDataReader reader ) : void
Server_ReceiveMoveTryToFinish ( RemoteEntityWorld sender, ReceiveDataReader reader ) : void
Server_ReceiveMoveUpdatePosition ( RemoteEntityWorld sender, ReceiveDataReader reader ) : void
Server_SendIndexToClients ( IList remoteEntityWorlds ) : void
Server_SendPositionToClients ( IList remoteEntityWorlds ) : void

Method Details

Client_MoveTryToBegin() public method

public Client_MoveTryToBegin ( ) : void
return void

Client_MoveTryToFinish() public method

public Client_MoveTryToFinish ( ) : void
return void

Client_MoveUpdatePosition() public method

public Client_MoveUpdatePosition ( Vec2 newPosition ) : void
newPosition Vec2
return void

OnCalculateMapBounds() protected method

protected OnCalculateMapBounds ( Bounds &bounds ) : void
bounds Bounds
return void

OnDestroy() protected method

protected OnDestroy ( ) : void
return void

OnPostCreate() protected method

protected OnPostCreate ( bool loaded ) : void
loaded bool
return void

OnSetTransform() protected method

protected OnSetTransform ( Vec3 &pos, Quat &rot, Vec3 &scl ) : void
pos Vec3
rot Quat
scl Vec3
return void

OnTick() protected method

protected OnTick ( ) : void
return void

ServerOrSingle_MoveFinish() public method

public ServerOrSingle_MoveFinish ( ) : void
return void

ServerOrSingle_MoveUpdatePosition() public method

public ServerOrSingle_MoveUpdatePosition ( Vec2 newPosition ) : void
newPosition Vec2
return void

ServerOrSingle_SetIndex() public method

public ServerOrSingle_SetIndex ( Vec2i index ) : void
index Vec2i
return void

Server_MoveBegin() public method

public Server_MoveBegin ( UserManagementServerNetworkService user ) : void
user GameCommon.UserManagementServerNetworkService
return void

Server_OnClientConnectedBeforePostCreate() protected method

protected Server_OnClientConnectedBeforePostCreate ( RemoteEntityWorld remoteEntityWorld ) : void
remoteEntityWorld RemoteEntityWorld
return void

Server_OnClientDisconnected() protected method

protected Server_OnClientDisconnected ( RemoteEntityWorld remoteEntityWorld ) : void
remoteEntityWorld RemoteEntityWorld
return void

Single_MoveBegin() public method

public Single_MoveBegin ( ) : void
return void