Esempio n. 1
0
        /// <summary>
        /// Createa a new game, with a board and all peices associated with it
        /// </summary>
        public Game()
        {
            _board = new Board();
            _larva = _board.Larva;
            _birds = _board.Birds;

            _player1 = new LarvaPlayer(_larva);
            _player2 = new BirdPlayer(_birds);
            _currentPlayer = _player1;
        }
Esempio n. 2
0
        /// <summary>
        /// Createa a new game, with a board and all peices associated with it
        /// </summary>
        public Game()
        {
            _board = new Board();
            _larva = _board.Larva;
            _birds = _board.Birds;

            _player1       = new LarvaPlayer(_larva);
            _player2       = new BirdPlayer(_birds);
            _currentPlayer = _player1;
        }