C# 클래스 GameEntities.Turret

Gives an opportunity of creation of the turrets. A turret can be rotated. Guns are attached on the tower and player can control the aiming and shooting of the turret.
상속: Unit
파일 보기 프로젝트 열기: DarrenHassan/GDM4242-GroupD

Private Properties

프로퍼티 타입 설명
Client_ReceiveTurnToPosition void
GunsTryFire void
MomentaryTurnToPositionUpdate void
Server_SendTurnToPositionToClients void

공개 메소드들

메소드 설명
SetMomentaryTurnToPosition ( Vec3 pos ) : void

보호된 메소드들

메소드 설명
OnIntellectCommand ( Intellect command ) : void
OnPostCreate ( bool loaded ) : void

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

OnTick ( ) : void

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

Server_OnClientConnectedAfterPostCreate ( RemoteEntityWorld remoteEntityWorld ) : void

비공개 메소드들

메소드 설명
Client_ReceiveTurnToPosition ( RemoteEntityWorld sender, ReceiveDataReader reader ) : void
GunsTryFire ( bool alternative ) : void
MomentaryTurnToPositionUpdate ( Vec3 turnToPosition ) : void
Server_SendTurnToPositionToClients ( IList remoteEntityWorlds, Vec3 turnToPosition ) : void

메소드 상세

OnIntellectCommand() 보호된 메소드

protected OnIntellectCommand ( Intellect command ) : void
command Intellect
리턴 void

OnPostCreate() 보호된 메소드

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

OnTick() 보호된 메소드

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

Server_OnClientConnectedAfterPostCreate() 보호된 메소드

protected Server_OnClientConnectedAfterPostCreate ( RemoteEntityWorld remoteEntityWorld ) : void
remoteEntityWorld RemoteEntityWorld
리턴 void

SetMomentaryTurnToPosition() 공개 메소드

public SetMomentaryTurnToPosition ( Vec3 pos ) : void
pos Vec3
리턴 void