C# Class GameEntities.RTS_Specific.ForagerAnt

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

Public Methods

Method Description
SetLookDirection ( Vec3 pos ) : void

Protected Methods

Method Description
OnPostCreate ( bool loaded ) : void

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

OnRender ( Engine.Camera camera ) : void

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

OnTick ( ) : void

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

OnUpdateBaseAnimation ( ) : void

Private Methods

Method Description
DoPathFind ( ) : bool
TickMove ( ) : void

Method Details

OnPostCreate() protected method

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

OnRender() protected method

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

OnTick() protected method

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

OnUpdateBaseAnimation() protected method

protected OnUpdateBaseAnimation ( ) : void
return void

SetLookDirection() public method

public SetLookDirection ( Vec3 pos ) : void
pos Vec3
return void