std::optional< std::reference_wrapper< T > > get_component() const noexcept
Get the first component of type T attached to this GameObject.
Definition gameObject.h:141
Represents a scene within the engine. A scene contains multiple GameObjects and manages their lifecyc...
Definition scene.h:19
UI Component that displays the current frames per second (FPS).
Definition ui_fps.h:16
void update(float dt) override
Update the UI object.
Base class for all UI objects.
Definition ui_object.h:16