コード例 #1
0
        public void displayMap()
        {
            Player player = fEngine.getCurrentPlayer();

            for (int i = 1; i < fMaze.getNumRooms(); i++)
            {
                Room room = fMaze.getRoom(i);
                if (Player.hasVisited(room))
                {
                    System.Console.WriteLine(room.getShortDescription());
                }
            }
            this.displayRoom(player.fRoom);
        }