C# Class Game.AvatarController

Inheritance: IAvatarController
Datei anzeigen Open project: GoodAI/BrainSimulator

Public Methods

Method Description
AvatarController ( IAvatar avatar ) : System
GetActions ( ) : IAvatarControls
GetComment ( ) : string
GetStats ( ) : IStats
ResetControls ( ) : void
SetActions ( IAvatarControls actions ) : void

Private Methods

Method Description
JointSpeed ( float fSpeed, float rSpeed ) : float

Diagonal strafing speed should not be greater than 1. Speed must be between [0,1].

SetAvatarActionsControllable ( ) : void
avatar_NewMessage ( object sender, MessageEventArgs e ) : void

Method Details

AvatarController() public method

public AvatarController ( IAvatar avatar ) : System
avatar IAvatar
return System

GetActions() public method

public GetActions ( ) : IAvatarControls
return IAvatarControls

GetComment() public method

public GetComment ( ) : string
return string

GetStats() public method

public GetStats ( ) : IStats
return IStats

ResetControls() public method

public ResetControls ( ) : void
return void

SetActions() public method

public SetActions ( IAvatarControls actions ) : void
actions IAvatarControls
return void