Commit 9a531872 authored by Jordi Mas's avatar Jordi Mas

Remove unused code

parent f7582a40
Pipeline #78929 passed with stage
in 5 minutes and 6 seconds
......@@ -41,7 +41,7 @@ namespace gbrainy.Games.Logic
2,2,3,0,0, 0,0,0,0,0,
};
private const double figure_width = 0.1, figure_height = 0.1, space_width = 0.05, space_height = 0;
private const double figure_height = 0.1, space_width = 0.05, space_height = 0;
public override string Name {
get {return Translations.GetString ("Balance");}
......
......@@ -25,7 +25,6 @@ namespace gbrainy.Games.Logic
public class PuzzleClocks : Game
{
private const double figure_size = 0.3;
private const double radian = Math.PI / 180;
private int addition;
private int []handles;
private const int clocks = 4;
......
......@@ -29,7 +29,6 @@ namespace gbrainy.Games.Logic
const double figure_size = 0.25;
const int lines = 6;
const int columns = 6;
const int figures = 6;
static bool X = true;
static bool O = false;
const double space_figures = 0.05;
......
......@@ -26,7 +26,7 @@ namespace gbrainy.Games.Logic
{
public class PuzzleLargerShape : Game
{
private const double rect_witdh = 0.04, rect_height = 0.04, space_figures = 0.22;
private const double rect_witdh = 0.04, rect_height = 0.04;
private ArrayListIndicesRandom random_indices;
private const int answers = 4;
private char[] quest1, quest2, answer;
......
......@@ -132,8 +132,6 @@ namespace gbrainy.Games.Logic
internal abstract class Figure
{
Random random = new Random ();
const double figure_size = 0.3;
const double margin = 0.005;
public double GetRandom (double max)
{
......
......@@ -27,7 +27,7 @@ namespace gbrainy.Games.Logic
public class PuzzlePencil : Game
{
private ArrayListIndicesRandom random_indices;
private const double figure_width = 0.1, figure_height = 0.1, space_width = 0.1, space_height = 0.15;
private const double figure_height = 0.1, space_width = 0.1, space_height = 0.15;
private const double figure_size = 0.2;
private const int figures = 5;
private const int answer_index = 4;
......
......@@ -24,21 +24,8 @@ namespace gbrainy.Games.Logic
{
public class PuzzlePeopleTable : Game
{
private const double figure_size = 0.15;
private string ques1, ques2;
private class Circle
{
public double x;
public double y;
public Circle (double x, double y)
{
this.x = x;
this.y = y;
}
}
public override string Name {
get {return Translations.GetString ("People at a table");}
}
......
......@@ -26,7 +26,6 @@ namespace gbrainy.Games.Memory
{
private const int NUMCOLUMNS = 7;
private const int MINDOTS = 1;
private const int MAXDOTS = 25;
private int maxdotscolor;
private int question_color;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment