Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2014-06-12 20:18:34 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2014-06-16 15:26:38 (GMT)
commit022d935cb2e95a975d49ab6ec7626b4d63ce6e86 (patch)
tree6f173b98ec9f2cccac8f46bb8e84cb818fab34c7
parent1773ba4db0ea2ac58ac3a0be2dcb6ebcf7f51cd5 (diff)
Remove more unused code
-rw-r--r--game.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/game.py b/game.py
index 15fb7a5..c067bb2 100644
--- a/game.py
+++ b/game.py
@@ -50,9 +50,7 @@ class MazeGame(Gtk.DrawingArea):
# Munsell color values http://wiki.laptop.org/go/Munsell
EMPTY_COLOR = (203.0 / 255.0, 203.0 / 255.0, 203.0 / 255.0)
SOLID_COLOR = (28.0 / 255.0, 28.0 / 255.0, 28.0 / 255.0)
- TRAIL_COLOR = (1.0, 1.0, 1.0)
GOAL_COLOR = (0x00, 0xff, 0x00)
- WIN_COLOR = (0xff, 0xff, 0x00)
def __init__(self, activity, owner, state=None):
super(MazeGame, self).__init__()
@@ -217,7 +215,6 @@ class MazeGame(Gtk.DrawingArea):
if self._show_trail:
if tile == self.maze.SEEN:
- ctx.set_source_rgb(*self.TRAIL_COLOR)
radius = self.tileSize / 3 - self.outline
center = self.tileSize / 2
ctx.set_source_rgba(*self.localplayers[0].bg.get_rgba())