summaryrefslogtreecommitdiff
path: root/src/graphyx/graphics/Drawable.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphyx/graphics/Drawable.scala')
-rw-r--r--src/graphyx/graphics/Drawable.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphyx/graphics/Drawable.scala b/src/graphyx/graphics/Drawable.scala
index fefd97d..07f3491 100644
--- a/src/graphyx/graphics/Drawable.scala
+++ b/src/graphyx/graphics/Drawable.scala
@@ -13,7 +13,7 @@ import sims.geometry._
trait Drawable {
/**Java Graphics Objekt zur graphischen Darstellung*/
- var g: java.awt.Graphics = _
+ var g: java.awt.Graphics2D = _
/**Anzahl von Pixeln pro Meter.*/
var ppm: Double = 39.37007874015748 * 96 //ppm = i/m * p/i