8#ifndef W_ROTATION_COMPONENT_HPP
9#define W_ROTATION_COMPONENT_HPP
57 [[nodiscard]]
float getAngle( )
const;
Component()
Protected constructor to restrict instantiation to derived classes.
Definition wComponent.cpp:17
void setAngle(float angle)
Set the rotation angle.
Definition wRotationComponent.cpp:29
RotationComponent(float angle=0.0f)
Construct a RotationComponent with an initial angle.
Definition wRotationComponent.cpp:17
void debugPrint() const
Outputs the current angle value to the console for debugging.
Definition wRotationComponent.cpp:45
virtual ~RotationComponent()=default
float getAngle() const
Get the current rotation angle.
Definition wRotationComponent.cpp:34
Definition wColorComponent.cpp:9