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

Afficher le fichier Open project: velcrome/vvvv-Game

Méthodes publiques

Méthode 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 méthode

public static Age ( this agent ) : TimeSpan
agent this
Résultat TimeSpan

AimAtTarget() public static méthode

public static AimAtTarget ( this agent, double targetFocus = 1.0, double agility = 1.0 ) : Vector3D
agent this
targetFocus double
agility double
Résultat Vector3D

Burn() public static méthode

public static Burn ( this agent, double energy = 0.5 ) : void
agent this
energy double
Résultat void

Digest() public static méthode

public static Digest ( this agent ) : double
agent this
Résultat double

Distance() public static méthode

public static Distance ( this agent, IAgent otherAgent ) : double
agent this
otherAgent IAgent
Résultat double

Feed() public static méthode

public static Feed ( this agent, double foodAmount ) : void
agent this
foodAmount double
Résultat void

ForceSumHistory() public static méthode

public static ForceSumHistory ( this agent ) : Bin
agent this
Résultat Bin

ForceSumHistory() public static méthode

public static ForceSumHistory ( this agent, int index ) : Vector3D
agent this
index int
Résultat Vector3D

GetStatus() public static méthode

public static GetStatus ( this agent ) : LifeStatus
agent this
Résultat LifeStatus

Hit() public static méthode

public static Hit ( this agent, bool hit = true ) : void
agent this
hit bool
Résultat void

LifeTimeProgress() public static méthode

public static LifeTimeProgress ( this agent ) : double
agent this
Résultat double

Move() public static méthode

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

MoveToTarget() public static méthode

public static MoveToTarget ( this agent, double speed = 1.0 ) : void
agent this
speed double
Résultat void

PositionHistory() public static méthode

public static PositionHistory ( this agent ) : Bin
agent this
Résultat Bin

PositionHistory() public static méthode

public static PositionHistory ( this agent, int index ) : Vector3D
agent this
index int
Résultat Vector3D

RestLifeTime() public static méthode

public static RestLifeTime ( this agent ) : TimeSpan
agent this
Résultat TimeSpan

SetRandomName() public static méthode

public static SetRandomName ( this agent ) : string
agent this
Résultat string

SetRandomPosition() public static méthode

public static SetRandomPosition ( this agent, double width ) : Vector3D
agent this
width double
Résultat Vector3D

SetStatus() public static méthode

public static SetStatus ( this agent, LifeStatus status ) : void
agent this
status LifeStatus
Résultat void

TotalLifeTime() public static méthode

public static TotalLifeTime ( this agent ) : TimeSpan
agent this
Résultat TimeSpan

Vector() public static méthode

public static Vector ( this agent, IAgent otherAgent ) : Vector3D
agent this
otherAgent IAgent
Résultat Vector3D

VelocityHistory() public static méthode

public static VelocityHistory ( this agent ) : Bin
agent this
Résultat Bin

VelocityHistory() public static méthode

public static VelocityHistory ( this agent, int index ) : Vector3D
agent this
index int
Résultat Vector3D

Work() public static méthode

public static Work ( this agent, double efficiency = 0.1 ) : void
agent this
efficiency double
Résultat void