Exemple #1
0
 public Boss()
 {
     RoomAccess.Add(20);
     RoomAccess.Add(2);
     RoomAccess.Add(40);
     RoomAccess.Add(1);
 }
 public Administrator()
 {
     for (var i = 1; i <= 40; i++)
     {
         RoomAccess.Add(i);
         RoomAccess.Remove(20);
     }
 }
 public Cleaner()
 {
     for (var i = 1; i <= 40; i++)
     {
         RoomAccess.Add(i);
     }
     RoomAccess.Remove(20);
     RoomAccess.Remove(2);
     RoomAccess.Remove(40);
     RoomAccess.Remove(1);
 }
Exemple #4
0
 public Receptionist()
 {
     for (var i = 1; i <= 40; i++)
     {
         RoomAccess.Add(i);
     }
     RoomAccess.Remove(3);
     RoomAccess.Remove(20);
     RoomAccess.Remove(2);
     RoomAccess.Remove(40);
     RoomAccess.Remove(1);
     RoomAccess.Remove(4);
 }
Exemple #5
0
 public Guest()
 {
     RoomAccess.Add(41);
 }