made RectangleEntity and PolygonEntity free from PhysicWorld