diff pyntnclick/main.py @ 648:b2c2b6f56291 pyntnclick

baby steps to fixing rect_drawer - it has now progressed to being completely useless
author Neil Muller <neil@dip.sun.ac.za>
date Sun, 12 Feb 2012 12:28:27 +0200
parents 974cc69d3762
children c77d6aa29bee
line wrap: on
line diff
--- a/pyntnclick/main.py	Sun Feb 12 12:13:08 2012 +0200
+++ b/pyntnclick/main.py	Sun Feb 12 12:28:27 2012 +0200
@@ -22,7 +22,7 @@
 from pyntnclick.sound import Sound
 from pyntnclick import state
 
-from pyntnclick.tools.rect_drawer import RectApp, make_rect_display
+from pyntnclick.tools.rect_drawer import RectEngine, make_rect_display
 from pyntnclick.tools.utils import list_scenes
 
 
@@ -144,7 +144,7 @@
             display = make_rect_display()
             # FIXME: Remove Albow from here
             try:
-                self.engine = RectApp(display, self.initial_state, opts.scene,
+                self.engine = RectEngine(self, self.initial_state, opts.scene,
                         opts.detail)
             except KeyError:
                 print 'Invalid scene: %s' % opts.scene