From ed933607765a6e010689aaaf85184053ff6e8a2b Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sat, 13 Feb 2021 12:14:58 -0500 Subject: Added non-looping animations Lucas can get electrocuted now. --- src/script_system.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/script_system.cpp') diff --git a/src/script_system.cpp b/src/script_system.cpp index 5b9b987..3f89290 100644 --- a/src/script_system.cpp +++ b/src/script_system.cpp @@ -16,7 +16,8 @@ ScriptSystem::ScriptSystem(Game& game) : game_(game) { "dir", &Sprite::dir, "followers", &Sprite::followers, "characterState", &Sprite::characterState, - "controllable", &Sprite::controllable); + "controllable", &Sprite::controllable, + "animFinished", &Sprite::animFinished); engine_.new_usertype( "message", -- cgit 1.4.1