Update Node.php

This commit is contained in:
Dennis Eichhorn 2019-08-20 16:20:38 +02:00 committed by GitHub
parent ea85dd5f25
commit aec62e3eb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,4 +46,14 @@ class Node
{
return $this->weight;
}
public function getX() : int
{
return $this->x;
}
public function getY() : int
{
return $this->y;
}
}