Mercurial > boomslang
diff pyntnclick/scenewidgets.py @ 576:1b1ab71535bd pyntnclick
Classify constants, which involves a whole bunch of XXX comments
author | Stefano Rivera <stefano@rivera.za.net> |
---|---|
date | Sat, 11 Feb 2012 16:02:06 +0200 |
parents | 38fb04728ac5 |
children | 356795038b87 |
line wrap: on
line diff
--- a/pyntnclick/scenewidgets.py Sat Feb 11 16:01:33 2012 +0200 +++ b/pyntnclick/scenewidgets.py Sat Feb 11 16:02:06 2012 +0200 @@ -8,9 +8,12 @@ from albow.resource import get_image from pyntnclick.state import Thing -from pyntnclick.constants import DEBUG from pyntnclick.widgets import BoomLabel +# XXX: Need a way to get at the constants. +from pyntnclick.constants import GameConstants +DEBUG = GameConstants().debug + class Interact(object):