C# Class VVVV.Pack.Game.Faces.AgentAPI

Show file Open project: velcrome/vvvv-Game

Public Methods

Method Description
Age ( this agent ) : TimeSpan
AimAtTarget ( this agent, double targetFocus = 1.0, double agility = 1.0 ) : Vector3D
Burn ( this agent, double energy = 0.5 ) : void
Digest ( this agent ) : double
Distance ( this agent, IAgent otherAgent ) : double
Feed ( this agent, double foodAmount ) : void
ForceSumHistory ( this agent ) : Bin
ForceSumHistory ( this agent, int index ) : Vector3D
GetStatus ( this agent ) : LifeStatus
Hit ( this agent, bool hit = true ) : void
LifeTimeProgress ( this agent ) : double
Move ( this agent, double maxSpeed = double.PositiveInfinity, double agility = 1.0 ) : Vector3D
MoveToTarget ( this agent, double speed = 1.0 ) : void
PositionHistory ( this agent ) : Bin
PositionHistory ( this agent, int index ) : Vector3D
RestLifeTime ( this agent ) : TimeSpan
SetRandomName ( this agent ) : string
SetRandomPosition ( this agent, double width ) : Vector3D
SetStatus ( this agent, LifeStatus status ) : void
TotalLifeTime ( this agent ) : TimeSpan
Vector ( this agent, IAgent otherAgent ) : Vector3D
VelocityHistory ( this agent ) : Bin
VelocityHistory ( this agent, int index ) : Vector3D
Work ( this agent, double efficiency = 0.1 ) : void

Method Details

Age() public static method

public static Age ( this agent ) : TimeSpan
agent this
return TimeSpan

AimAtTarget() public static method

public static AimAtTarget ( this agent, double targetFocus = 1.0, double agility = 1.0 ) : Vector3D
agent this
targetFocus double
agility double
return Vector3D

Burn() public static method

public static Burn ( this agent, double energy = 0.5 ) : void
agent this
energy double
return void

Digest() public static method

public static Digest ( this agent ) : double
agent this
return double

Distance() public static method

public static Distance ( this agent, IAgent otherAgent ) : double
agent this
otherAgent IAgent
return double

Feed() public static method

public static Feed ( this agent, double foodAmount ) : void
agent this
foodAmount double
return void

ForceSumHistory() public static method

public static ForceSumHistory ( this agent ) : Bin
agent this
return Bin

ForceSumHistory() public static method

public static ForceSumHistory ( this agent, int index ) : Vector3D
agent this
index int
return Vector3D

GetStatus() public static method

public static GetStatus ( this agent ) : LifeStatus
agent this
return LifeStatus

Hit() public static method

public static Hit ( this agent, bool hit = true ) : void
agent this
hit bool
return void

LifeTimeProgress() public static method

public static LifeTimeProgress ( this agent ) : double
agent this
return double

Move() public static method

public static Move ( this agent, double maxSpeed = double.PositiveInfinity, double agility = 1.0 ) : Vector3D
agent this
maxSpeed double
agility double
return Vector3D

MoveToTarget() public static method

public static MoveToTarget ( this agent, double speed = 1.0 ) : void
agent this
speed double
return void

PositionHistory() public static method

public static PositionHistory ( this agent ) : Bin
agent this
return Bin

PositionHistory() public static method

public static PositionHistory ( this agent, int index ) : Vector3D
agent this
index int
return Vector3D

RestLifeTime() public static method

public static RestLifeTime ( this agent ) : TimeSpan
agent this
return TimeSpan

SetRandomName() public static method

public static SetRandomName ( this agent ) : string
agent this
return string

SetRandomPosition() public static method

public static SetRandomPosition ( this agent, double width ) : Vector3D
agent this
width double
return Vector3D

SetStatus() public static method

public static SetStatus ( this agent, LifeStatus status ) : void
agent this
status LifeStatus
return void

TotalLifeTime() public static method

public static TotalLifeTime ( this agent ) : TimeSpan
agent this
return TimeSpan

Vector() public static method

public static Vector ( this agent, IAgent otherAgent ) : Vector3D
agent this
otherAgent IAgent
return Vector3D

VelocityHistory() public static method

public static VelocityHistory ( this agent ) : Bin
agent this
return Bin

VelocityHistory() public static method

public static VelocityHistory ( this agent, int index ) : Vector3D
agent this
index int
return Vector3D

Work() public static method

public static Work ( this agent, double efficiency = 0.1 ) : void
agent this
efficiency double
return void