C# Class GameEntities.TurretAI

Inheritance: AI
Mostrar archivo Open project: DarrenHassan/GDM4242-GroupD

Public Methods

Method Description
TurretAI ( ) : System

Protected Methods

Method Description
OnControlledObjectRender ( Camera camera ) : void
OnPostCreate ( bool loaded ) : void

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

OnRelatedEntityDelete ( System.Entity entity ) : void

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

OnTick ( ) : void

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

Private Methods

Method Description
FindUnitWeapons ( ) : void
GetAttackObjectPriority ( Unit obj ) : float
TickTask ( ) : void
UpdateTask ( ) : void

Method Details

OnControlledObjectRender() protected method

protected OnControlledObjectRender ( Camera camera ) : void
camera Camera
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 ( System.Entity entity ) : void
entity System.Entity
return void

OnTick() protected method

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

TurretAI() public method

public TurretAI ( ) : System
return System