type = $type; $this->random = $random; } public function canPlaceObject(Level $level, Vector3 $pos){ } public function placeObject(Level $level, Vector3 $pos){ } }