C# Class GameEntities.JigsawPuzzlePiece

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

Private Properties

Свойство 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

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode 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

Méthode 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 méthode

public Client_MoveTryToBegin ( ) : void
Résultat void

Client_MoveTryToFinish() public méthode

public Client_MoveTryToFinish ( ) : void
Résultat void

Client_MoveUpdatePosition() public méthode

public Client_MoveUpdatePosition ( Vec2 newPosition ) : void
newPosition Vec2
Résultat void

OnCalculateMapBounds() protected méthode

protected OnCalculateMapBounds ( Bounds &bounds ) : void
bounds Bounds
Résultat void

OnDestroy() protected méthode

protected OnDestroy ( ) : void
Résultat void

OnPostCreate() protected méthode

protected OnPostCreate ( bool loaded ) : void
loaded bool
Résultat void

OnSetTransform() protected méthode

protected OnSetTransform ( Vec3 &pos, Quat &rot, Vec3 &scl ) : void
pos Vec3
rot Quat
scl Vec3
Résultat void

OnTick() protected méthode

protected OnTick ( ) : void
Résultat void

ServerOrSingle_MoveFinish() public méthode

public ServerOrSingle_MoveFinish ( ) : void
Résultat void

ServerOrSingle_MoveUpdatePosition() public méthode

public ServerOrSingle_MoveUpdatePosition ( Vec2 newPosition ) : void
newPosition Vec2
Résultat void

ServerOrSingle_SetIndex() public méthode

public ServerOrSingle_SetIndex ( Vec2i index ) : void
index Vec2i
Résultat void

Server_MoveBegin() public méthode

public Server_MoveBegin ( UserManagementServerNetworkService user ) : void
user GameCommon.UserManagementServerNetworkService
Résultat void

Server_OnClientConnectedBeforePostCreate() protected méthode

protected Server_OnClientConnectedBeforePostCreate ( RemoteEntityWorld remoteEntityWorld ) : void
remoteEntityWorld RemoteEntityWorld
Résultat void

Server_OnClientDisconnected() protected méthode

protected Server_OnClientDisconnected ( RemoteEntityWorld remoteEntityWorld ) : void
remoteEntityWorld RemoteEntityWorld
Résultat void

Single_MoveBegin() public méthode

public Single_MoveBegin ( ) : void
Résultat void