Example #1
0
        public void TestInstantiation()
        {
            Waves waves = Waves.Basic();
            Board board = Board.Standard;

            GameController gc = new GameController(waves, board);

            gc.TroopMoved    += (sender, args) => Debug.WriteLine(args);
            gc.TroopsSpawned += (sender, args) => Debug.WriteLine(args);
            gc.GameEnded     += (sender, args) => Debug.WriteLine(args);

            gc.BeginGame();
        }