Esempio n. 1
0
 /// <summary>
 /// It is called from AITTTGL StartNewGame
 /// </summary>
 public void Reset()
 {
     bottomLeftPosOfField = new IntVector2(int.MaxValue, int.MaxValue);
     topRightPosOfField   = new IntVector2(int.MinValue, int.MinValue);
     gameField            = new EvaluationField[100, 100];
     pointsInGame         = new List <IntVector2>();
     for (int i = 0; i < gameField.GetLength(0); i++)
     {
         for (int k = 0; k < gameField.GetLength(1); k++)
         {
             gameField[i, k] = new EvaluationField(new IntVector2(i, k));
         }
     }
     firstPointInGame = null;
 }
Esempio n. 2
0
 public void SetEndEvaluationFields(EvaluationField one, EvaluationField two)
 {
     this.blockField1 = one;
     this.blockField2 = two;
 }