aboutsummaryrefslogtreecommitdiff
path: root/src/Core/StateManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Core/StateManager.cpp')
-rw-r--r--src/Core/StateManager.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Core/StateManager.cpp b/src/Core/StateManager.cpp
index 266bafa..e2aba02 100644
--- a/src/Core/StateManager.cpp
+++ b/src/Core/StateManager.cpp
@@ -74,6 +74,12 @@ namespace Donut
m_CurrentState->OnRender();
}
+ void StateManager::OnImUIRender()
+ {
+ if (m_CurrentState)
+ m_CurrentState->OnImUIRender();
+ }
+
void StateManager::OnEvent(Event& event)
{
if (m_CurrentState)