diff options
Diffstat (limited to 'src/example/replay.cpp')
-rw-r--r-- | src/example/replay.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/example/replay.cpp b/src/example/replay.cpp index 4c606d7..7faf6cb 100644 --- a/src/example/replay.cpp +++ b/src/example/replay.cpp @@ -27,17 +27,21 @@ class Timeline : public Script { switch (i++) { default: break; case 10: + logf("record start"); replay.record_start(); break; case 60: + logf("record end, playing recording"); this->recording = replay.record_end(); replay.play(this->recording); break; case 61: + logf("done, releasing recording"); replay.release(this->recording); break; case 72: - throw; + logf("exit"); + queue_event<ShutDownEvent>(); break; }; } |