Esempio n. 1
0
 public Room(final RoomType type, final int width, final int height, final Property property) {
   Validate.notNull(type);
   Validate.notNull(property);
   this.setType(type);
   this.setProperty(property);
   this.width = width;
   this.height = height;
 }
Esempio n. 2
0
 public Room(final RoomType type, final int width, final int height) {
   Validate.notNull(type);
   this.setType(type);
   this.width = width;
   this.height = height;
 }