x . ':' . $this->y; } public function distanceTo(self $position): int { return abs($this->x - $position->x) + abs($this->y - $position->y); } }