Hotel Class
Manages Room
s and its Guest
s
Constructor
Hotel
()
Example:
var hotel = new Hotel()
guest_a = hotel.create_guest(conn_a, 'room')
guest_b = hotel.create_guest(conn_b, 'room')
Methods
Properties
rooms
Unknown
private
An object containing the rooms with their names as keys