summaryrefslogtreecommitdiff
path: root/host/inter/dist_sensor.py
diff options
context:
space:
mode:
authorNicolas Schodet2009-03-14 15:57:17 +0100
committerNicolas Schodet2009-03-14 15:57:17 +0100
commit233c384c6c53f91e1405d797d9683f3296ddabc1 (patch)
tree4c212e546b0456edd6d2d7e1b18742bae86c7885 /host/inter/dist_sensor.py
parent1a5e89e4030e9bb4118caebd3fdee7bd6224277c (diff)
* host/inter, host/simu:
- moved drawable and trans_matrix to the new directory structure. - new drawable behaviour.
Diffstat (limited to 'host/inter/dist_sensor.py')
-rw-r--r--host/inter/dist_sensor.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/host/inter/dist_sensor.py b/host/inter/dist_sensor.py
index 859b311f..1f6a4668 100644
--- a/host/inter/dist_sensor.py
+++ b/host/inter/dist_sensor.py
@@ -25,7 +25,7 @@
from math import pi, cos, sin, sqrt
from Tkinter import *
-from drawable import *
+from simu.inter.drawable import *
from utils.observable import Observable
class DistSensor (Drawable, Observable):
@@ -34,6 +34,7 @@ class DistSensor (Drawable, Observable):
def __init__ (self, onto, pos, angle, range):
Drawable.__init__ (self, onto)
Observable.__init__ (self)
+ self.onto = onto
self.pos = pos
self.angle = angle
self.range = range