diff options
Diffstat (limited to 'src/tesseract/objects/Physical.java')
-rw-r--r-- | src/tesseract/objects/Physical.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/tesseract/objects/Physical.java b/src/tesseract/objects/Physical.java new file mode 100644 index 0000000..abf8c0f --- /dev/null +++ b/src/tesseract/objects/Physical.java @@ -0,0 +1,16 @@ +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(); +} |