blob: 40d50eeb4683de90e411772dcae0c102f69f171b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
package tesseract.objects;
import javax.vecmath.Vector3f;
/**
* This interface is applied to any object that has a position in the world.
*
* @author Jesse Morgan
*/
public interface Physical {
/**
* @return The position of the object in the world.
*/
Vector3f getPosition();
/**
* Set the object's position.
*
* @param position The new position.
*/
void setPosition(Vector3f position);
}
|