Mercurial > boomslang
comparison 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 |
comparison
equal
deleted
inserted
replaced
575:970cdc219e15 | 576:1b1ab71535bd |
---|---|
9 import pygame | 9 import pygame |
10 import pygame.color | 10 import pygame.color |
11 import pygame.cursors | 11 import pygame.cursors |
12 import pygame.mouse | 12 import pygame.mouse |
13 | 13 |
14 from pyntnclick.constants import SCENE_SIZE | 14 # XXX: Need a way to get at the constants |
15 from pyntnclick.constants import GameConstants | |
16 SCENE_SIZE = GameConstants().scene_size | |
15 | 17 |
16 | 18 |
17 class CursorSprite(Sprite): | 19 class CursorSprite(Sprite): |
18 "A Sprite that follows the Cursor" | 20 "A Sprite that follows the Cursor" |
19 | 21 |