summaryrefslogtreecommitdiff
path: root/src/tesseract/objects/Physical.java
diff options
context:
space:
mode:
authorJesse Morgan <jesse@jesterpm.net>2011-01-28 18:52:51 +0000
committerJesse Morgan <jesse@jesterpm.net>2011-01-28 18:52:51 +0000
commitfc40e7f6e3165a002326c92401c17951b7048a32 (patch)
treeccbb0fa261c51de242cf32a3aa622c78103b352f /src/tesseract/objects/Physical.java
parent380952816905723a8f3a18104e18e92ba85b2b88 (diff)
And we now have a basic 3d world :D
Diffstat (limited to 'src/tesseract/objects/Physical.java')
-rw-r--r--src/tesseract/objects/Physical.java16
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();
+}