GODPAPER | All Packages | All Classes | Index | Frames No Frames |
ISteeredVehicle

Package | com.lookbackon.AI.steeringBehavior
Interface | public interface ISteeredVehicle extends IVehicle, IArrive, IAvoid, IEvade, IFlee, IFllowPath, IFlock, IPursue, ISeek, IWander
Implementors | SteeredVehicle

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | arriveThreshold : Number | IArrive
|  | avoidBuffer : Number | IAvoid
|  | avoidDistance : Number | IAvoid
|  | edgeBehavior : String Sets / gets what will happen if character hits edge. | IVehicle
|  | inSightDist : Number | ISteeredVehicle
|  | mass : Number Sets / gets mass of character. | IVehicle
|  | maxForce : Number | ISteeredVehicle
|  | maxSpeed : Number Sets / gets maximum speed of character. | IVehicle
|  | pathIndex : int | IFllowPath
|  | pathThreshold : Number | IFllowPath
|  | position : Vector2D Sets / gets position of character as a Vector2D. | IVehicle
|  | tooCloseDist : Number | ISteeredVehicle
|  | velocity : Vector2D Sets / gets velocity of character as a Vector2D. | IVehicle
|  | x : Number [write-only] Sets x position of character. | IVehicle
|  | y : Number [write-only] Sets y position of character. | IVehicle

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | arrive(target:Vector2D):void | IArrive
|  | avoid(circles:Array):void | IAvoid
|  | evade(target:Vehicle):void | IEvade
|  | flee(target:Vector2D):void | IFlee
|  | flock(vehicles:Array):void | IFlock
|  | inSight(vehicle:Vehicle):Boolean | ISteeredVehicle
|  | pursue(target:Vehicle):void | IPursue
|  | seek(target:Vector2D):void | ISeek
|  | tooClose(vehicle:Vehicle):Boolean | ISteeredVehicle
|  | update():void update vehicle 's properties. | IVehicle
|  | wander():void | IWander

Property Detail

inSightDist | property

`inSightDist:Number`

Implementation
`public function get inSightDist():Number`
`public function set inSightDist(value:Number):void`

maxForce | property |

`maxForce:Number`

Implementation
`public function get maxForce():Number`
`public function set maxForce(value:Number):void`

tooCloseDist | property |

`tooCloseDist:Number`

Implementation
`public function get tooCloseDist():Number`
`public function set tooCloseDist(value:Number):void`
Method Detail

inSight | () | method

`public function inSight(vehicle:Vehicle):Boolean`

Parameters

| `vehicle:Vehicle`

Returns

| `Boolean`

tooClose | () | method |

`public function tooClose(vehicle:Vehicle):Boolean`

Parameters

| `vehicle:Vehicle`

Returns

| `Boolean`

Thu Jan 16 2014, 01:11 PM +08:00