1 package cz.cuni.amis.pogamut.base3d.worldview.object; 2 3 /** 4 * General interface for objects that are moveable within the world. 5 * 6 * @author Juraj 'Loque' Simlovic 7 */ 8 public interface ILocomotive 9 { 10 /** 11 * Retreives current direction and velocity of movement of the object. 12 * 13 * @return Current direction in which the object is moving and absolute 14 * velocity of the object within the world. The direction is represented 15 * as a vector within the world's coordinates. The size of velocity is 16 * represented by length of that vector. 17 */ 18 Velocity getVelocity (); 19 20 }