[gbrainy] Drawing this answer no longer applies



commit d943f0c5e9040d9f69f2c9ea23c25573c8587e15
Author: Jordi Mas <jmas softcatala org>
Date:   Sat Mar 5 16:11:40 2011 +0100

    Drawing this answer no longer applies

 src/Games/Logic/PuzzleSquareSheets.cs |   29 ++---------------------------
 1 files changed, 2 insertions(+), 27 deletions(-)
---
diff --git a/src/Games/Logic/PuzzleSquareSheets.cs b/src/Games/Logic/PuzzleSquareSheets.cs
index d3271b9..3c51f94 100644
--- a/src/Games/Logic/PuzzleSquareSheets.cs
+++ b/src/Games/Logic/PuzzleSquareSheets.cs
@@ -29,7 +29,7 @@ namespace gbrainy.Games.Logic
 		}
 
 		public override string Question {
-			get {return ServiceLocator.Instance.GetService <ITranslations> ().GetString ("What is the minimum number of square sheets of paper of any size required to create the figure? Lines indicate frontiers between different sheets.");} 
+			get {return ServiceLocator.Instance.GetService <ITranslations> ().GetString ("What is the minimum number of square sheets of paper of any size required to create the figure? Lines indicate frontiers between different sheets.");}
 		}
 
 		public override string Tip {
@@ -56,7 +56,7 @@ namespace gbrainy.Games.Logic
 
 			gr.Rectangle (x, y, width, height);
 			gr.Stroke ();
-		
+
 			gr.MoveTo (x, y + 0.1);
 			gr.LineTo (x + width, y + 0.1);  // First horizontal
 			gr.Stroke ();
@@ -72,31 +72,6 @@ namespace gbrainy.Games.Logic
 			gr.MoveTo (x + 0.3, y);
 			gr.LineTo (x + 0.3, y + height - 0.1);  // Second vertical
 			gr.Stroke ();
-
-			if (Answer.Draw == false)
-				return;
-
-			gr.LineTo (x + 0.04, y + 0.06);
-			gr.ShowPangoText ("1");
-
-			gr.LineTo (x + 0.18, y + 0.06);
-			gr.ShowPangoText ("2");
-
-			gr.LineTo (x + 0.34, y + 0.06);
-			gr.ShowPangoText ("3");
-		
-			gr.LineTo (x + 0.04, y + 0.2);
-			gr.ShowPangoText ("2");
-
-			gr.LineTo (x + 0.18, y + 0.2);
-			gr.ShowPangoText ("4");
-
-			gr.LineTo (x + 0.34, y + 0.2);
-			gr.ShowPangoText ("5");
-
-			gr.LineTo (x + 0.04, y + 0.36);
-			gr.ShowPangoText ("3");
-
 		}
 	}
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]