Esempio n. 1
0
        /// <summary>
        /// display info on current location
        /// </summary>
        public void DisplayLookAround()
        {
            //
            // get current map location
            //
            MapLocation currentMapLocation = _gameKingdom.GetMapLocationById(_gamePlayer.MapLocationID);

            //
            //get list of game objects in current map location
            //
            List <GameObject> gameObjectsInCurrentMapLocation = _gameKingdom.GetGameObjectsByMapLocationId(_gamePlayer.MapLocationID);

            string messageBoxText = Text.LookAround(currentMapLocation) + Environment.NewLine + Environment.NewLine;

            messageBoxText += Text.GameObjectsChooseList(gameObjectsInCurrentMapLocation);

            DisplayGamePlayScreen("Current Location", messageBoxText, ActionMenu.MainMenu, "");
        }