26 using ShapeComponent::ShapeComponent;
Defines the ShapeComponent class, a base component for handling shapes.
A base component for handling shapes within a game or application.
Definition: ShapeComponent.hpp:24
A specialized shape component for rendering lines within a game or application.
Definition: ShapeLineComponent.hpp:21
void setX(float x)
Set the X-coordinate of the line's displacement.
Definition: ShapeLineComponent.cpp:15
void setY(float y)
Set the Y-coordinate of the line's displacement.
Definition: ShapeLineComponent.cpp:16
float _x
Definition: ShapeLineComponent.hpp:52
virtual void drawShape() override
Draw the line shape.
Definition: ShapeLineComponent.cpp:7
float _y
Definition: ShapeLineComponent.hpp:53