コード例 #1
0
        private void OutputBoardState()
        {
            //this will output the state of the game currently, allowing the player to know what state the game is in
            //different levels of info, with drill down specifics
            //e.g.
            var player = _playerManager.CurrentPlayerTurn();

            _interactionManager.OutputContent(String.Format("Current Player is currently {0} at {1} with {2} actions", player.ToString(), player.CurrentLocation.Name, player.GetNumberOfActions()));
            foreach (string locationWithCubes in _boardState.OutputLocationsAndDiseaseCounts())
            {
                _interactionManager.OutputContent(locationWithCubes);
            }
        }