C# Class GameEntities.Character

Defines the physical characters.
Inheritance: Unit
Afficher le fichier Open project: DarrenHassan/GDM4242-GroupD

Private Properties

Свойство Type Description
CalculateGroundRelativeVelocity void
CalculateMainBodyGroundDistanceAndGroundBody void
Client_ReceiveJumpEvent void
Client_ReceiveWeaponVerticalAngle void
IsPhysX bool
Server_SendGroundRelativeVelocityToClients void
Server_SendJumpEventToAllClients void
TickIntellect void
TickJump void
TickMovement void
UpdateMainBodyDamping void

Méthodes publiques

Méthode Description
IsOnGround ( ) : bool
SetForceMoveVector ( Vec2 vec ) : void
SetTurnToPosition ( Vec3 pos ) : void
TryJump ( ) : void
UpdateRotation ( ) : void

Méthodes protégées

Méthode Description
Client_OnTick ( ) : void

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

OnIntellectCommand ( Intellect command ) : void
OnJump ( ) : void
OnPostCreate ( bool loaded ) : void

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

OnSave ( TextBlock block ) : void
OnSetTransform ( Vec3 &pos, Quat &rot, Vec3 &scl ) : void
OnSuspendPhysicsDuringMapLoading ( bool suspend ) : void
OnTick ( ) : void

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

Server_OnClientConnectedAfterPostCreate ( RemoteEntityWorld remoteEntityWorld ) : void

Private Methods

Méthode Description
CalculateGroundRelativeVelocity ( ) : void
CalculateMainBodyGroundDistanceAndGroundBody ( Vec3 &shouldAddForce ) : void
Client_ReceiveJumpEvent ( RemoteEntityWorld sender, ReceiveDataReader reader ) : void
Client_ReceiveWeaponVerticalAngle ( RemoteEntityWorld sender, ReceiveDataReader reader ) : void
IsPhysX ( ) : bool
Server_SendGroundRelativeVelocityToClients ( IList remoteEntityWorlds, Vec3 value ) : void
Server_SendJumpEventToAllClients ( ) : void
TickIntellect ( Intellect intellect ) : void
TickJump ( bool ignoreTicks ) : void
TickMovement ( ) : void
UpdateMainBodyDamping ( ) : void

Method Details

Client_OnTick() protected méthode

Overridden from Engine.EntitySystem.Entity.Client_OnTick().
protected Client_OnTick ( ) : void
Résultat void

IsOnGround() public méthode

public IsOnGround ( ) : bool
Résultat bool

OnIntellectCommand() protected méthode

protected OnIntellectCommand ( Intellect command ) : void
command Intellect
Résultat void

OnJump() protected méthode

protected OnJump ( ) : void
Résultat void

OnPostCreate() protected méthode

Overridden from Engine.EntitySystem.Entity.OnPostCreate(Boolean).
protected OnPostCreate ( bool loaded ) : void
loaded bool
Résultat void

OnSave() protected méthode

protected OnSave ( TextBlock block ) : void
block TextBlock
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

OnSuspendPhysicsDuringMapLoading() protected méthode

protected OnSuspendPhysicsDuringMapLoading ( bool suspend ) : void
suspend bool
Résultat void

OnTick() protected méthode

Overridden from Engine.EntitySystem.Entity.OnTick().
protected OnTick ( ) : void
Résultat void

Server_OnClientConnectedAfterPostCreate() protected méthode

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

SetForceMoveVector() public méthode

public SetForceMoveVector ( Vec2 vec ) : void
vec Vec2
Résultat void

SetTurnToPosition() public méthode

public SetTurnToPosition ( Vec3 pos ) : void
pos Vec3
Résultat void

TryJump() public méthode

public TryJump ( ) : void
Résultat void

UpdateRotation() public méthode

public UpdateRotation ( ) : void
Résultat void