public function __construct($name, $maxrooms, $default_price) { $id = Houses::MakeID($name); parent::__construct($id, $name, $maxrooms, $default_price, new Position(2485, -1690), new Position(2505, -1710), 20, new Position(2496.05, -1692.9301, 1014.7422, 180), 3); /* Interior ID */ parent::AddHouseEntrance('street', new Position(893.5016000000001, -1637.2668, 14.9297, 180)); }
public function __construct($name, $maxrooms, $default_price) { $id = Houses::MakeID($name); parent::__construct($id, $name, $maxrooms, $default_price, new Position(1220, -730), new Position(1320, -830), 100, new Position(1258.2936, -838.6871, 1084.0078, 0), 5); /* Interior ID */ $this->AddHouseEntrance('main', new Position(1298.5369, -798.8372000000001, 83.8, 180)); $this->AddHouseEntrance('roof', new Position(1287.4863, -788.7426, 92.0313, 90), new Position(1261.4065, -785.6282, 1091.9063, 270)); $this->SetKitchen(new Position(1276.972, -813.8871, 1085.6328)); $this->SetFridgePos(new Position(1275.4027, -822.4887, 1085.6328)); $this->LoadObjectsFromFile('Madd_House.txt'); }