Mercurial > boomslang
diff pyntnclick/cursor.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 | 3ce19d33b51f |
line wrap: on
line diff
--- a/pyntnclick/cursor.py Sat Feb 11 16:01:33 2012 +0200 +++ b/pyntnclick/cursor.py Sat Feb 11 16:02:06 2012 +0200 @@ -11,7 +11,9 @@ import pygame.cursors import pygame.mouse -from pyntnclick.constants import SCENE_SIZE +# XXX: Need a way to get at the constants +from pyntnclick.constants import GameConstants +SCENE_SIZE = GameConstants().scene_size class CursorSprite(Sprite):