25#include "guillaume/ecs/component.hpp"
SegmentCount getSegments(void) const
Get how many straight segments approximate the outline.
int SegmentCount
A number of straight segments.
Ellipse(void)
Construct an ellipse drawn with 48 segments.
~Ellipse(void)=default
Default destructor for the Ellipse component.
Ellipse & setSegments(SegmentCount segments)
Set how many straight segments approximate the outline.
Base class of every component: a piece of state attached to an entity, plus a "changed" flag.
State. Every class here is plain data attached to an entity.