C# Класс VVVV.Pack.Game.Faces.AgentAPI

Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

Age() публичный статический Метод

public static Age ( this agent ) : TimeSpan
agent this
Результат TimeSpan

AimAtTarget() публичный статический Метод

public static AimAtTarget ( this agent, double targetFocus = 1.0, double agility = 1.0 ) : Vector3D
agent this
targetFocus double
agility double
Результат Vector3D

Burn() публичный статический Метод

public static Burn ( this agent, double energy = 0.5 ) : void
agent this
energy double
Результат void

Digest() публичный статический Метод

public static Digest ( this agent ) : double
agent this
Результат double

Distance() публичный статический Метод

public static Distance ( this agent, IAgent otherAgent ) : double
agent this
otherAgent IAgent
Результат double

Feed() публичный статический Метод

public static Feed ( this agent, double foodAmount ) : void
agent this
foodAmount double
Результат void

ForceSumHistory() публичный статический Метод

public static ForceSumHistory ( this agent ) : Bin
agent this
Результат Bin

ForceSumHistory() публичный статический Метод

public static ForceSumHistory ( this agent, int index ) : Vector3D
agent this
index int
Результат Vector3D

GetStatus() публичный статический Метод

public static GetStatus ( this agent ) : LifeStatus
agent this
Результат LifeStatus

Hit() публичный статический Метод

public static Hit ( this agent, bool hit = true ) : void
agent this
hit bool
Результат void

LifeTimeProgress() публичный статический Метод

public static LifeTimeProgress ( this agent ) : double
agent this
Результат double

Move() публичный статический Метод

public static Move ( this agent, double maxSpeed = double.PositiveInfinity, double agility = 1.0 ) : Vector3D
agent this
maxSpeed double
agility double
Результат Vector3D

MoveToTarget() публичный статический Метод

public static MoveToTarget ( this agent, double speed = 1.0 ) : void
agent this
speed double
Результат void

PositionHistory() публичный статический Метод

public static PositionHistory ( this agent ) : Bin
agent this
Результат Bin

PositionHistory() публичный статический Метод

public static PositionHistory ( this agent, int index ) : Vector3D
agent this
index int
Результат Vector3D

RestLifeTime() публичный статический Метод

public static RestLifeTime ( this agent ) : TimeSpan
agent this
Результат TimeSpan

SetRandomName() публичный статический Метод

public static SetRandomName ( this agent ) : string
agent this
Результат string

SetRandomPosition() публичный статический Метод

public static SetRandomPosition ( this agent, double width ) : Vector3D
agent this
width double
Результат Vector3D

SetStatus() публичный статический Метод

public static SetStatus ( this agent, LifeStatus status ) : void
agent this
status LifeStatus
Результат void

TotalLifeTime() публичный статический Метод

public static TotalLifeTime ( this agent ) : TimeSpan
agent this
Результат TimeSpan

Vector() публичный статический Метод

public static Vector ( this agent, IAgent otherAgent ) : Vector3D
agent this
otherAgent IAgent
Результат Vector3D

VelocityHistory() публичный статический Метод

public static VelocityHistory ( this agent ) : Bin
agent this
Результат Bin

VelocityHistory() публичный статический Метод

public static VelocityHistory ( this agent, int index ) : Vector3D
agent this
index int
Результат Vector3D

Work() публичный статический Метод

public static Work ( this agent, double efficiency = 0.1 ) : void
agent this
efficiency double
Результат void