From cf028e9bbb2d8baad7e1192274252b173e077639 Mon Sep 17 00:00:00 2001 From: Gonzalo Odiard Date: Thu, 12 Jun 2014 20:18:34 +0000 Subject: Remove more unused code --- 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()) -- cgit v0.9.1