cz.cuni.amis.pogamut.base3d.worldview.object
Interface ILocomotive

Package class diagram package ILocomotive
All Known Subinterfaces:
IAgent3D
All Known Implementing Classes:
AbstractAgent3D, Agent3DJMXProxy, Velocity

public interface ILocomotive

General interface for objects that are moveable within the world.

Author:
Juraj 'Loque' Simlovic

Method Summary
 Velocity getVelocity()
          Retreives current direction and velocity of movement of the object.
 

Method Detail

getVelocity

Velocity getVelocity()
Retreives current direction and velocity of movement of the object.

Returns:
Current direction in which the object is moving and absolute velocity of the object within the world. The direction is represented as a vector within the world's coordinates. The size of velocity is represented by length of that vector.


Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.