C# Class GameEntities.Door

Defines the doors. That doors worked, it is necessary that the physical model had a body with a name "door". This body will move at change of a status of a door.
Inheritance: Dynamic
Mostra file Open project: DarrenHassan/GDM4242-GroupD

Private Properties

Property Type Description
Client_ReceiveOpened void
Client_ReceiveSoundClose void
Client_ReceiveSoundOpen void
Server_SendOpenedToClients void
Server_SendSoundCloseToAllClients void
Server_SendSoundOpenToAllClients void
UpdateDoorBody void

Protected Methods

Method Description
OnCreate ( ) : void
OnPostCreate ( bool loaded ) : void

Overridden from Engine.EntitySystem.Entity.OnPostCreate(Boolean).

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

Overridden from Engine.MapSystem.MapObject.OnSetTransform(ref Vec3,ref Quat,ref Vec3).

OnTick ( ) : void

Overridden from Engine.EntitySystem.Entity.OnTick().

Server_OnClientConnectedBeforePostCreate ( RemoteEntityWorld remoteEntityWorld ) : void

Private Methods

Method Description
Client_ReceiveOpened ( RemoteEntityWorld sender, ReceiveDataReader reader ) : void
Client_ReceiveSoundClose ( RemoteEntityWorld sender, ReceiveDataReader reader ) : void
Client_ReceiveSoundOpen ( RemoteEntityWorld sender, ReceiveDataReader reader ) : void
Server_SendOpenedToClients ( IList remoteEntityWorlds ) : void
Server_SendSoundCloseToAllClients ( ) : void
Server_SendSoundOpenToAllClients ( ) : void
UpdateDoorBody ( ) : void

Method Details

OnCreate() protected method

protected OnCreate ( ) : void
return void

OnPostCreate() protected method

Overridden from Engine.EntitySystem.Entity.OnPostCreate(Boolean).
protected OnPostCreate ( bool loaded ) : void
loaded bool
return void

OnSetTransform() protected method

Overridden from Engine.MapSystem.MapObject.OnSetTransform(ref Vec3,ref Quat,ref Vec3).
protected OnSetTransform ( Vec3 &pos, Quat &rot, Vec3 &scl ) : void
pos Vec3
rot Quat
scl Vec3
return void

OnTick() protected method

Overridden from Engine.EntitySystem.Entity.OnTick().
protected OnTick ( ) : void
return void

Server_OnClientConnectedBeforePostCreate() protected method

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