hardness = 0.7; $this->isFullBlock = false; $this->isSolid = false; } public function updateState(){ $logic = (new RailLogic($this)); if($logic->countPotentialConnections() == 3){ $logic->place(false, false); } } }