MCPcopy Create free account
hub / github.com/LibreSprite/LibreSprite / play

Method play

src/app/ui/editor/editor.cpp:1577–1585  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1575}
1576
1577void Editor::play(bool playOnce)
1578{
1579 ASSERT(m_state);
1580 if (!m_state)
1581 return;
1582
1583 if (!dynamic_cast<PlayState*>(m_state.get()))
1584 setState(EditorStatePtr(new PlayState(playOnce)));
1585}
1586
1587void Editor::stop()
1588{

Callers 4

onExecuteMethod · 0.80
setFrameMethod · 0.80
onPlayClickedMethod · 0.80
updateUsingEditorMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected