C# Class World.Physics.MovementPhysics

Inheritance: IMovementPhysics
Datei anzeigen Open project: GoodAI/BrainSimulator Class Usage Examples

Public Methods

Method Description
Move ( IForwardMovablePhysicalEntity movable ) : void
RevertMove ( IForwardMovablePhysicalEntity movable ) : void
RevertMoveKeepRotation ( IForwardMovablePhysicalEntity movable ) : void
Shift ( IForwardMovablePhysicalEntity movable ) : void
Shift ( IForwardMovablePhysicalEntity movable, float speed ) : void
Shift ( IForwardMovablePhysicalEntity movable, float speed, float directionInRads ) : void

Private Methods

Method Description
Rotate ( IForwardMovablePhysicalEntity movable ) : void
Rotate ( IForwardMovablePhysicalEntity movable, float rotationSpeed ) : void

Method Details

Move() public method

public Move ( IForwardMovablePhysicalEntity movable ) : void
movable IForwardMovablePhysicalEntity
return void

RevertMove() public method

public RevertMove ( IForwardMovablePhysicalEntity movable ) : void
movable IForwardMovablePhysicalEntity
return void

RevertMoveKeepRotation() public method

public RevertMoveKeepRotation ( IForwardMovablePhysicalEntity movable ) : void
movable IForwardMovablePhysicalEntity
return void

Shift() public method

public Shift ( IForwardMovablePhysicalEntity movable ) : void
movable IForwardMovablePhysicalEntity
return void

Shift() public method

public Shift ( IForwardMovablePhysicalEntity movable, float speed ) : void
movable IForwardMovablePhysicalEntity
speed float
return void

Shift() public method

public Shift ( IForwardMovablePhysicalEntity movable, float speed, float directionInRads ) : void
movable IForwardMovablePhysicalEntity
speed float
directionInRads float
return void