engine: convert to 'new style' classes
[base2-runner.git] / engine / Game.py
index 3355f48..4434b64 100755 (executable)
@@ -6,7 +6,7 @@
 
 import os.path, pygame, engine
 
-class Style:
+class Style(object):
  """ Encapsulate the attributes required for printing styled text """
  font = None
  colour = None
@@ -20,7 +20,7 @@ class Style:
   Style.debug = debug
   if Style.debug: engine.debug_pr("Style %s, height: %d, colour:" % (font, height), self.colour)
 
-class Game:
+class Game(object):
  """ Container for all game state and configuration items """
  config = dict()
  styles = dict()