diff options
Diffstat (limited to 'src/example/game.cpp')
-rw-r--r-- | src/example/game.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/example/game.cpp b/src/example/game.cpp index 4239c15..2b4e46f 100644 --- a/src/example/game.cpp +++ b/src/example/game.cpp @@ -66,6 +66,10 @@ class MyScript1 : public Script { //add collider switch break; } + case Keycode::Q: { + throw "Test"; + break; + } default: break; } |