Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/cells.py
diff options
context:
space:
mode:
Diffstat (limited to 'cells.py')
-rwxr-xr-xcells.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/cells.py b/cells.py
index af6367f..9e4cf94 100755
--- a/cells.py
+++ b/cells.py
@@ -24,6 +24,7 @@ from random import randint, shuffle
from pieces import EscapeArea, Cell, Hideout
from sprites import Text, Group, Guard
from colors import blue, yellow, black, white
+import cursor
from gettext import gettext as _
@@ -35,10 +36,11 @@ class Game():
def __init__(self, fps = 30):
self.fps = fps
+ self.cursor = pygame.cursors.compile(cursor.cursor_data)
def load_all(self):
pygame.init()
-
+ pygame.mouse.set_cursor((32,32), (1,1), *self.cursor)
self.screen = pygame.display.get_surface()
if not(self.screen):
self.screen = pygame.display.set_mode((1200, 800))