Moved entities x and y to represent center in pathfinding. Added a getCenter x and y to node.