11 void OnCreate() override;
12 [[maybe_unused]]
void OnUpdate(const
float& dt) override;
13 void OnDraw() override;
14 void OnImGuiDraw() override;
16 void OnDestroy() override;
19 void SetLoadingText(const std::string_view& text) noexcept { m_loading_text = text; }
20 const std::string&
GetLoadingText() const noexcept {
return m_loading_text; }
23 std::string m_loading_text;
24 inline static constexpr
const float SPINNER_RADIUS = 66.66f;
25 inline static constexpr
const float SPINNER_THICKNESS = 4.0f;
#define NS_ENIGMA_BEGIN
Enable/Disable Assertions.
void SetLoadingText(const std::string_view &text) noexcept
virtual ~LoadingScene() noexcept=default
const std::string & GetLoadingText() const noexcept