예제 #1
0
 public Room(string a, string b, int c, bedNum f)
 {
     name            = a;
     square          = b;
     numberofwindows = c;
     ID           = generateID();
     numberofbeds = (int)f;
 }
예제 #2
0
 public TypeOfRooms(string a, string b, int c, bedNum f, int g, int h)
 {
     name            = a;
     square          = b;
     numberofwindows = c;
     ID                         = generateID();
     numberofbeds               = (int)f;
     roomStruct.numberOfTV      = g;
     roomStruct.numberOfbabybed = h;
 }