Пример #1
0
        /// <summary>
        /// Constructs the consoleView, Player is assumed to have not been created yet.
        /// </summary>
        /// <param name="player"></param>
        /// <param name="stafflist"></param>
        /// <param name="guardlist"></param>
        /// <param name="zonemaster"></param>
        public ConsoleView(StaffList stafflist,  GuardList guardlist, ZoneMaster zonemaster)
        {
            Console.WindowHeight = WINDOW_HEIGHT;
            Console.WindowWidth = WINDOW_WIDTH;

            _staffList = stafflist;
            _guardList = guardlist;
            _zoneMaster = zonemaster;
        }
Пример #2
0
 /// <summary>
 /// Creates the Zonemaster and initializes the rooms
 /// </summary>
 public void InitializeZoneMaster()
 {
     _zoneMaster = new ZoneMaster();
     _zoneMaster.InitializeRooms();
 }