import os.path, pygame, engine
-class Style:
+class Style(object):
""" Encapsulate the attributes required for printing styled text """
font = None
colour = None
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()