C# Class GameEntities.RTSUnitAI

Inheritance: AI
Mostra file Open project: DarrenHassan/GDM4242-GroupD Class Usage Examples

Private Properties

Property Type Description
ClearTaskList void
InactiveFindTask bool
UpdateInitialWeapons void

Public Methods

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

Protected Methods

Method Description
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

Private Methods

Method Description
ClearTaskList ( ) : void
InactiveFindTask ( ) : bool
UpdateInitialWeapons ( ) : void

Method Details

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

RTSUnitAI() public method

public RTSUnitAI ( ) : System
return System

TickTasks() protected method

protected TickTasks ( ) : void
return void