C# 클래스 GameEntities.Unit

Units differ from Dynamic objects that that can be controlled by intellect (GameEntities.Intellect).
상속: Dynamic
파일 보기 프로젝트 열기: DarrenHassan/GDM4242-GroupD 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Client_ReceiveIntellect void
CreateInitialAI void
Server_SendIntellectToClients void
TickTakeItems void

공개 메소드들

메소드 설명
DoIntellectCommand ( Intellect command ) : void
GetRootUnitFaction ( ) : FactionType
SetIntellect ( Intellect value, bool shouldDeleteAfterDetach ) : void
Unit ( ) : System

보호된 메소드들

메소드 설명
OnCreateInfluence ( Influence influence ) : void
OnDestroy ( ) : void

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

OnDie ( MapObject prejudicial ) : void
OnIntellectCommand ( Intellect command ) : void
OnLoad ( TextBlock block ) : bool

Overridden from Engine.EntitySystem.Entity.OnLoad(TextBlock).

OnPostCreate ( bool loaded ) : void

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

OnRelatedEntityDelete ( Entity entity ) : void

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

OnRemoveChild ( Entity entity ) : void

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

OnRender ( Engine.Camera camera ) : void

Overridden from Engine.MapSystem.MapObject.OnRender(Camera).

OnRenderFrame ( ) : void
OnTick ( ) : void

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

Server_OnClientConnectedAfterPostCreate ( RemoteEntityWorld remoteEntityWorld ) : void

비공개 메소드들

메소드 설명
Client_ReceiveIntellect ( RemoteEntityWorld sender, ReceiveDataReader reader ) : void
CreateInitialAI ( bool loaded ) : void
Server_SendIntellectToClients ( IList remoteEntityWorlds ) : void
TickTakeItems ( ) : void

메소드 상세

DoIntellectCommand() 공개 메소드

public DoIntellectCommand ( Intellect command ) : void
command Intellect
리턴 void

GetRootUnitFaction() 공개 메소드

public GetRootUnitFaction ( ) : FactionType
리턴 FactionType

OnCreateInfluence() 보호된 메소드

protected OnCreateInfluence ( Influence influence ) : void
influence Influence
리턴 void

OnDestroy() 보호된 메소드

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

OnDie() 보호된 메소드

protected OnDie ( MapObject prejudicial ) : void
prejudicial MapObject
리턴 void

OnIntellectCommand() 보호된 메소드

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

OnLoad() 보호된 메소드

Overridden from Engine.EntitySystem.Entity.OnLoad(TextBlock).
protected OnLoad ( TextBlock block ) : bool
block TextBlock
리턴 bool

OnPostCreate() 보호된 메소드

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

OnRelatedEntityDelete() 보호된 메소드

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

OnRemoveChild() 보호된 메소드

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

OnRender() 보호된 메소드

Overridden from Engine.MapSystem.MapObject.OnRender(Camera).
protected OnRender ( Engine.Camera camera ) : void
camera Engine.Camera
리턴 void

OnRenderFrame() 보호된 메소드

protected OnRenderFrame ( ) : void
리턴 void

OnTick() 보호된 메소드

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

Server_OnClientConnectedAfterPostCreate() 보호된 메소드

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

SetIntellect() 공개 메소드

public SetIntellect ( Intellect value, bool shouldDeleteAfterDetach ) : void
value Intellect
shouldDeleteAfterDetach bool
리턴 void

Unit() 공개 메소드

public Unit ( ) : System
리턴 System