float getRadius() const
Returns radius.
Definition: CircleBody.h:44
A QObject container for a Box2D b2Body.
Definition: Body.h:57
void setRadius(float value)
Sets radius.
void radiusChanged()
Emitted when radius changes.
CircleBody(QObject *parent=nullptr)
Constructs a CircleBody.
A QObject container for a Box2D b2Body that represents a circle.
Definition: CircleBody.h:26
virtual void forEachShape(const std::function< void(b2Shape *)> &func) override
Calls func on the b2Shape that represents this CircleBody.
float radius
The radius of the CircleBody.
Definition: CircleBody.h:32