From c304defdd7b0c5a8bea83f2540c009ededd450cb Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Fri, 26 Feb 2021 19:08:49 -0500 Subject: Added animation slowdown effect (for Lucas underwater) --- 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 e218969..18a4e39 100644 --- a/src/script_system.cpp +++ b/src/script_system.cpp @@ -41,7 +41,8 @@ ScriptSystem::ScriptSystem(Game& game) : game_(game) { "paused", &Sprite::paused, "clipping", &Sprite::clipping, "cantCrouch", &Sprite::cantCrouch, - "bobsWhenNormal", &Sprite::bobsWhenNormal); + "bobsWhenNormal", &Sprite::bobsWhenNormal, + "animSlowdown", &Sprite::animSlowdown); engine_.new_usertype( "message", -- cgit 1.4.1