C# Class GameEntities.RTS_Specific.AntUnitAI

Inheritance: AI
显示文件 Open project: DarrenHassan/GDM4242-GroupD Class Usage Examples

Protected Properties

Property Type Description
failed bool
lastVec Vec3

Private Properties

Property Type Description
InactiveFindTask bool

Public Methods

Method Description
AntUnitAI ( ) : System
DoTask ( Task task, bool toQueue ) : void
GetControlPanelTasks ( ) : List

Protected Methods

Method Description
BehaveSeqGen ( ) : IEnumerable
ClearTaskList ( ) : void
DepositSeqGen ( ) : IEnumerable
DoNextTask ( ) : void
DoTaskInternal ( Task task ) : void
GetAttackObjectPriority ( Unit obj ) : float
OnDestroy ( ) : void

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

OnPostCreate ( bool loaded ) : void

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

OnRelatedEntityDelete ( Entity entity ) : void

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

OnTick ( ) : void

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

TickTasks ( ) : void
UpdateInitialWeapons ( ) : void

Private Methods

Method Description
InactiveFindTask ( ) : bool

Method Details

AntUnitAI() public method

public AntUnitAI ( ) : System
return System

BehaveSeqGen() protected method

protected BehaveSeqGen ( ) : IEnumerable
return IEnumerable

ClearTaskList() protected method

protected ClearTaskList ( ) : void
return void

DepositSeqGen() protected method

protected DepositSeqGen ( ) : IEnumerable
return IEnumerable

DoNextTask() protected method

protected DoNextTask ( ) : void
return void

DoTask() public method

public DoTask ( Task task, bool toQueue ) : void
task Task
toQueue bool
return void

DoTaskInternal() protected method

protected DoTaskInternal ( Task task ) : void
task Task
return void

GetAttackObjectPriority() protected method

protected GetAttackObjectPriority ( Unit obj ) : float
obj Unit
return float

GetControlPanelTasks() public method

public GetControlPanelTasks ( ) : List
return List

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

OnRelatedEntityDelete() protected method

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

OnTick() protected method

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

TickTasks() protected method

protected TickTasks ( ) : void
return void

UpdateInitialWeapons() protected method

protected UpdateInitialWeapons ( ) : void
return void

Property Details

failed protected_oe property

protected bool failed
return bool

lastVec protected_oe property

protected Vec3 lastVec
return Vec3