C# Class GameEntities.Fan

Defines a fans.
It is necessary that in physical model there was a Engine.PhysicsSystem.GearedMotor with a name "bladesMotor".
Inheritance: Dynamic
ファイルを表示 Open project: DarrenHassan/GDM4242-GroupD

Private Properties

Property Type Description
CalculateVelocityCoefficient float
Client_ReceiveVelocityCoefficient void
Server_SendVelocityCoefficientToClients void
Server_TickSendVelocityCoefficientToAllClients void
UpdateParticlesForceCoefficient void

Protected Methods

Method Description
Client_OnTick ( ) : void
OnDestroy ( ) : void

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

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
CalculateVelocityCoefficient ( ) : float
Client_ReceiveVelocityCoefficient ( RemoteEntityWorld sender, ReceiveDataReader reader ) : void
Server_SendVelocityCoefficientToClients ( IList remoteEntityWorlds, float value ) : void
Server_TickSendVelocityCoefficientToAllClients ( ) : void
UpdateParticlesForceCoefficient ( float forceCoefficient ) : void

Method Details

Client_OnTick() protected method

protected Client_OnTick ( ) : void
return void

OnDestroy() protected method

Overridden from Engine.EntitySystem.Entity.OnDestroy().
protected OnDestroy ( ) : 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