C# Класс GoodAI.ToyWorld.Control.AvatarControls

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
AvatarControls ( IAvatarControls other ) : System.Collections.Generic

AvatarControls ( int priority, float desiredForwardSpeed = 0f, float desiredRightSpeed = 0f, float desiredRotation = 0f, bool interact = false, bool use = false, bool pickUp = false, PointF fof = default(PointF) ) : System.Collections.Generic

ToDictionary ( ) : float>.Dictionary
Update ( IAvatarControls actions ) : void

Rewrites actions from this AvatarControls with actions from given AvatarControls with lower priority value.

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

AvatarControls() публичный Метод

public AvatarControls ( IAvatarControls other ) : System.Collections.Generic
other IAvatarControls
Результат System.Collections.Generic

AvatarControls() публичный Метод

public AvatarControls ( int priority, float desiredForwardSpeed = 0f, float desiredRightSpeed = 0f, float desiredRotation = 0f, bool interact = false, bool use = false, bool pickUp = false, PointF fof = default(PointF) ) : System.Collections.Generic
priority int
desiredForwardSpeed float
desiredRightSpeed float
desiredRotation float
interact bool
use bool
pickUp bool
fof System.Drawing.PointF
Результат System.Collections.Generic

ToDictionary() публичный Метод

public ToDictionary ( ) : float>.Dictionary
Результат float>.Dictionary

Update() публичный Метод

Rewrites actions from this AvatarControls with actions from given AvatarControls with lower priority value.
public Update ( IAvatarControls actions ) : void
actions IAvatarControls
Результат void