y = $y; $this->x = $x; $this->dy = $dy; $this->dx = $dx; $this->used = true; } public function clear(): void { $this->used = false; $this->dy = 0; $this->dx = 0; } }