I added a new method to the Entity class. I added the method getCenter(), which returns the center of the entity as a Position2D object.