Start() private method

private Start ( ) : void
return void
Exemplo n.º 1
0
 public void SetUp()
 {
     gb            = new GameBoard();
     gb.dimensions = new IntVector2(10, 20);
     gb.Start();
     gen = new GameBoardGenerator(gb);
 }
Exemplo n.º 2
0
 public void StartGame(int pm, int dm, int cm)
 {
     Board               = new GameBoard();
     Board.PlayerMode    = (pm == 0 ? PlayerMode.Single : PlayerMode.Couple);
     Board.AI.Difficulty = (dm == 0 ? DifficultyMode.Easy : DifficultyMode.Normal);
     Board.PlayerCamp    = (cm == 0 ? Camp.Wolf : Camp.Sheep);
     Board.MapChanged   += Board_MapChanged;
     Board.GameOver     += Board_GameOver;
     Board.Start();
 }
Exemplo n.º 3
0
 public void Empty_MarkConnectedMarksAll()
 {
     for (int scale = 1; scale < 20; scale++)
     {
         gb.dimensions = new IntVector2(scale, scale);
         gb.Start();
         gen.MarkConnected();
         Assert.IsTrue(gen.VerifyMarks(), "Fail on scale " + scale);
     }
 }