C# Class GameEntities.Tank

Inheritance: Unit
Exibir arquivo Open project: DarrenHassan/GDM4242-GroupD

Private Properties

Property Type Description
AddMainGunRecoilForce void
CalculateTracksSpeed void
Client_ReceiveTowerLocalDirection void
Client_ReceiveTracksSpeed void
GunsTryFire bool
InitTracksTextureAnimation void
InitWheelsSkeletonAnimation void
OnGearChange void
Server_SendTowerLocalDirectionToClients void
Server_SendTracksSpeedToClients void
Server_TickSendTowerLocalDirection void
ShutdownTracksTextureAnimation void
ShutdownWheelsSkeletonAnimation void
TickChassis void
TickChassisGround void
TickCurrentGear void
TickMinefields void
TickMotorSound void
TickTowerTurn void
TickTurnOver void
TrackMeshObject_AddToRenderQueue void
UpdateTowerTransform void
UpdateTracksTextureAnimation void
UpdateWheelsSkeletonAnimation void
WheelsSkeletonAnimationMeshObject_AddToRenderQueue void

Public Methods

Method Description
SetMomentaryTurnToPosition ( Vec3 pos ) : void
SetNeedTurnToPosition ( Vec3 pos ) : void
Tank ( ) : System

Protected Methods

Method Description
Client_OnTick ( ) : void
OnDestroy ( ) : void
OnIntellectCommand ( Intellect command ) : void
OnPostCreate ( bool loaded ) : void

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

OnPreCreate ( ) : void

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

OnRender ( Engine.Camera camera ) : void
OnSuspendPhysicsDuringMapLoading ( bool suspend ) : void
OnTick ( ) : void

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

Server_OnClientConnectedAfterPostCreate ( RemoteEntityWorld remoteEntityWorld ) : void

Private Methods

Method Description
AddMainGunRecoilForce ( ) : void
CalculateTracksSpeed ( ) : void
Client_ReceiveTowerLocalDirection ( RemoteEntityWorld sender, ReceiveDataReader reader ) : void
Client_ReceiveTracksSpeed ( RemoteEntityWorld sender, ReceiveDataReader reader ) : void
GunsTryFire ( bool alternative ) : bool
InitTracksTextureAnimation ( ) : void
InitWheelsSkeletonAnimation ( ) : void
OnGearChange ( TankType oldGear, TankType newGear ) : void
Server_SendTowerLocalDirectionToClients ( IList remoteEntityWorlds ) : void
Server_SendTracksSpeedToClients ( IList remoteEntityWorlds ) : void
Server_TickSendTowerLocalDirection ( ) : void
ShutdownTracksTextureAnimation ( ) : void
ShutdownWheelsSkeletonAnimation ( ) : void
TickChassis ( ) : void
TickChassisGround ( ) : void
TickCurrentGear ( ) : void
TickMinefields ( ) : void
TickMotorSound ( ) : void
TickTowerTurn ( ) : void
TickTurnOver ( ) : void
TrackMeshObject_AddToRenderQueue ( MovableObject sender, Engine.Camera camera, bool onlyShadowCasters, bool &allowRender ) : void
UpdateTowerTransform ( ) : void
UpdateTracksTextureAnimation ( ) : void
UpdateWheelsSkeletonAnimation ( ) : void
WheelsSkeletonAnimationMeshObject_AddToRenderQueue ( MovableObject sender, Engine.Camera camera, bool onlyShadowCasters, bool &allowRender ) : void

Method Details

Client_OnTick() protected method

protected Client_OnTick ( ) : void
return void

OnDestroy() protected method

protected OnDestroy ( ) : void
return void

OnIntellectCommand() protected method

protected OnIntellectCommand ( Intellect command ) : void
command Intellect
return void

OnPostCreate() protected method

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

OnPreCreate() protected method

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

OnRender() protected method

protected OnRender ( Engine.Camera camera ) : void
camera Engine.Camera
return void

OnSuspendPhysicsDuringMapLoading() protected method

protected OnSuspendPhysicsDuringMapLoading ( bool suspend ) : void
suspend bool
return void

OnTick() protected method

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

Server_OnClientConnectedAfterPostCreate() protected method

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

SetMomentaryTurnToPosition() public method

public SetMomentaryTurnToPosition ( Vec3 pos ) : void
pos Vec3
return void

SetNeedTurnToPosition() public method

public SetNeedTurnToPosition ( Vec3 pos ) : void
pos Vec3
return void

Tank() public method

public Tank ( ) : System
return System