From fc40e7f6e3165a002326c92401c17951b7048a32 Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Fri, 28 Jan 2011 18:52:51 +0000 Subject: And we now have a basic 3d world :D --- src/tesseract/objects/Physical.java | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/tesseract/objects/Physical.java (limited to 'src/tesseract/objects/Physical.java') 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(); +} -- cgit v1.2.3