Mercurial > boomslang
comparison 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 |
comparison
equal
deleted
inserted
replaced
575:970cdc219e15 | 576:1b1ab71535bd |
---|---|
6 from pygame.colordict import THECOLORS | 6 from pygame.colordict import THECOLORS |
7 from pygame.surface import Surface | 7 from pygame.surface import Surface |
8 from albow.resource import get_image | 8 from albow.resource import get_image |
9 | 9 |
10 from pyntnclick.state import Thing | 10 from pyntnclick.state import Thing |
11 from pyntnclick.constants import DEBUG | |
12 from pyntnclick.widgets import BoomLabel | 11 from pyntnclick.widgets import BoomLabel |
12 | |
13 # XXX: Need a way to get at the constants. | |
14 from pyntnclick.constants import GameConstants | |
15 DEBUG = GameConstants().debug | |
13 | 16 |
14 | 17 |
15 class Interact(object): | 18 class Interact(object): |
16 | 19 |
17 def __init__(self, image, rect, interact_rect): | 20 def __init__(self, image, rect, interact_rect): |