[gbrainy] Remove dead code
- From: Jordi Mas <jmas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gbrainy] Remove dead code
- Date: Thu, 25 Feb 2010 19:30:56 +0000 (UTC)
commit 474800827c9fa7d4567faeda4d0e1b6a76e5168a
Author: Jordi Mas <jmas softcatala org>
Date: Thu Feb 25 20:31:31 2010 +0100
Remove dead code
src/Core/Main/Game.cs | 2 --
src/Games/Logic/PuzzlePredicateLogic.cs | 2 --
2 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/Core/Main/Game.cs b/src/Core/Main/Game.cs
index 6e96933..cacbb57 100644
--- a/src/Core/Main/Game.cs
+++ b/src/Core/Main/Game.cs
@@ -76,9 +76,7 @@ namespace gbrainy.Core.Main
protected Game ()
{
random = new Random ();
- draw_answer = false;
default_color = new Cairo.Color (0, 0, 0);
- tip_used = false;
difficulty = Difficulty.Medium;
containers = new List <Toolkit.Container> ();
}
diff --git a/src/Games/Logic/PuzzlePredicateLogic.cs b/src/Games/Logic/PuzzlePredicateLogic.cs
index c8fe883..5ee58c1 100644
--- a/src/Games/Logic/PuzzlePredicateLogic.cs
+++ b/src/Games/Logic/PuzzlePredicateLogic.cs
@@ -133,8 +133,6 @@ namespace gbrainy.Games.Logic
for (int i = 0; i < predicates[question].options.Length; i++)
{
- int opt = random_indices [i];
-
DrawableArea drawable_area = new DrawableArea (0.8, 0.1);
drawable_area.X = DrawAreaX;
drawable_area.Y = DrawAreaY + 0.2 + i * 0.15;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]