C# Class GoodAI.ToyWorld.Control.AvatarControls

Exibir arquivo Open project: GoodAI/BrainSimulator Class Usage Examples

Public Methods

Method Description
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.

Method Details

AvatarControls() public method

public AvatarControls ( IAvatarControls other ) : System.Collections.Generic
other IAvatarControls
return System.Collections.Generic

AvatarControls() public method

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
return System.Collections.Generic

ToDictionary() public method

public ToDictionary ( ) : float>.Dictionary
return float>.Dictionary

Update() public method

Rewrites actions from this AvatarControls with actions from given AvatarControls with lower priority value.
public Update ( IAvatarControls actions ) : void
actions IAvatarControls
return void