feat: add play mode pause resume and step controls
This commit is contained in:
@@ -22,11 +22,15 @@ public:
|
||||
bool StartPlay(IEditorContext& context);
|
||||
bool StopPlay(IEditorContext& context);
|
||||
bool PausePlay(IEditorContext& context);
|
||||
bool ResumePlay(IEditorContext& context);
|
||||
bool StepPlay(IEditorContext& context);
|
||||
|
||||
private:
|
||||
uint64_t m_playStartRequestedHandlerId = 0;
|
||||
uint64_t m_playStopRequestedHandlerId = 0;
|
||||
uint64_t m_playPauseRequestedHandlerId = 0;
|
||||
uint64_t m_playResumeRequestedHandlerId = 0;
|
||||
uint64_t m_playStepRequestedHandlerId = 0;
|
||||
SceneSnapshot m_editorSnapshot = {};
|
||||
XCEngine::Components::RuntimeLoop m_runtimeLoop;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user