summaryrefslogtreecommitdiff
path: root/src/main/scala/graphyx/graphics/GraphicalObject.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/scala/graphyx/graphics/GraphicalObject.scala')
-rw-r--r--src/main/scala/graphyx/graphics/GraphicalObject.scala15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/main/scala/graphyx/graphics/GraphicalObject.scala b/src/main/scala/graphyx/graphics/GraphicalObject.scala
new file mode 100644
index 0000000..3c56de6
--- /dev/null
+++ b/src/main/scala/graphyx/graphics/GraphicalObject.scala
@@ -0,0 +1,15 @@
+/*
+ * Graphyx
+ * copyright (c) 2009 Jakob Odersky
+ * made available under the MIT License
+*/
+
+package graphyx.graphics
+
+/**Only copies functional info! (e.g. Graphical world does not include shapes, bodies).*/
+trait GraphicalObject extends Drawable{
+
+ /**Pointer to real object.*/
+ val real: AnyRef
+ def draw(): Unit
+}