//Constructor for building
 protected building(int height, int width, int numRooms, Person owner)
 {
     Height = height;
     Width = width;
     NumRooms = numRooms;
     Owner = owner;
 }
 //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;
 }
Beispiel #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;
 }