예제 #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 Stafflist and initializes the staff
 /// </summary>
 public void InitializeStaffList()
 {
     _staffList = new StaffList();
     _staffList.InitializeStaff();
 }