public House(HouseType houseType, IPlayer builder, int x, int y, int width, int height, HouseState houseState = HouseState.Building) { this.houseType = houseType; this.houseState = houseState; this.builder = builder; this.x = x; this.y = y; this.width = width; this.height = height; }
public bool RegisterHouseType(HouseType houseType) { if (houseTypes.ContainsKey(houseType.Name)) return false; houseTypes.Add(houseType.Name, houseType); return true; }