summaryrefslogtreecommitdiff
path: root/src/graphyx/graphics/GraphicalShape.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphyx/graphics/GraphicalShape.scala')
-rw-r--r--src/graphyx/graphics/GraphicalShape.scala15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/graphyx/graphics/GraphicalShape.scala b/src/graphyx/graphics/GraphicalShape.scala
new file mode 100644
index 0000000..e6f61a7
--- /dev/null
+++ b/src/graphyx/graphics/GraphicalShape.scala
@@ -0,0 +1,15 @@
+/*
+ * Graphyx
+ * copyright (c) 2009 Jakob Odersky
+ * made available under the MIT License
+*/
+
+package graphyx.graphics
+
+import sims.dynamics._
+trait GraphicalShape extends Shape with GraphicalObject{
+ val real: Shape
+ override val uid: Int = real.uid
+ pos = real.pos
+ rotation = real.rotation
+} \ No newline at end of file