Пример #1
0
 //Constructor for building
 protected building(int height, int width, int numRooms, Person owner)
 {
     Height = height;
     Width = width;
     NumRooms = numRooms;
     Owner = owner;
 }
Пример #2
0
 //constructor for business with building base
 protected business(int height, int width, int numRooms, Person owner)
     : base(height, width, numRooms, owner)
 {
     Height = height;
     Width = width;
     Owner = owner;
     NumRooms = numRooms;
 }
Пример #3
0
 public itemShop(List<equipItem> il, List<Person> p, int h, int w, int rooms, Person o)
     : base(h, w, rooms, o)
 {
     itemList = il;
     patrons = p;
 }