From c1fc60c5a2a4b96b830afc29942648714944b9d7 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Fri, 26 Feb 2021 18:54:38 -0500 Subject: Added sprite bobbing (for Lucas underwater) --- src/animation_system.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/animation_system.h') diff --git a/src/animation_system.h b/src/animation_system.h index c64c2dc..42aa516 100644 --- a/src/animation_system.h +++ b/src/animation_system.h @@ -30,6 +30,7 @@ private: Game& game_; std::vector animTimers_ = {{1000/5}, {1000/60}};//30fps * 1000 t/s;; + Timer bobbingTimer_ {1000/7}; }; #endif /* end of include guard: ANIMATION_SYSTEM_H_CCCC7CB8 */ -- cgit 1.4.1