From 233c384c6c53f91e1405d797d9683f3296ddabc1 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Sat, 14 Mar 2009 15:57:17 +0100 Subject: * host/inter, host/simu: - moved drawable and trans_matrix to the new directory structure. - new drawable behaviour. --- host/inter/dist_sensor.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'host/inter/dist_sensor.py') 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 -- cgit v1.2.3