コード例 #1
0
        public GameSessionViewModel(
            Player player,
            List <string> initialMessages,

            Map gameMap,
            Location currentLocation)
        {
            _player              = player;
            _messages            = initialMessages;
            _gameMap             = gameMap;
            _currentLocation     = currentLocation;
            _accessibleLocations = _gameMap.AccessibleLocations();
            InitializeView();
        }