Beispiel #1
0
        public void DisplayLookAround()
        {
            //
            // get current island location
            //
            IslandLocation currentIslandLocation = _gameUniverse.GetIslandLocationById(_gameSurvivor.IslandLocationID);

            //
            // get list of game objects in current space-time location
            //
            List <GameObject> gameObjectsInCurrentIslandLocation = _gameUniverse.GetGameObjectsByIslandLocationId(_gameSurvivor.IslandLocationID);

            //
            // get list of NPCs in current space-time location
            //
            List <Npc> npcsInCurrentIslandLocation = _gameUniverse.GetNpcsBySpaceTimeLocationId(_gameSurvivor.IslandLocationID);

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

            messageBoxText += Text.GameObjectsChooseList(gameObjectsInCurrentIslandLocation);
            messageBoxText += Text.NpcsChooseList(npcsInCurrentIslandLocation);

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