shape

abstract fun shape(): Shape

The shape of the entity, used for collide test.

⚠ The shape should be one of Rectangle2D, Polygon, Circle

And if you want this engine supports more shapes, please implement your collide checks of them using

CollideSystem.registeredSSCollideCheck, CollideSystem.registeredCSCollideCheck

Return

Shape.