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-12 20:18:34 (GMT)
commitcf028e9bbb2d8baad7e1192274252b173e077639 (patch)
tree85c9bfaef9432259d39266b96c0c234ca322f8dc
parent49794229c71ec2f00706614b3fbc1ec736c6681f (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())