From d983ef6b8d66d916ed7502cf6d35b573c5366257 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Mon, 5 Jul 2021 10:39:06 -0400 Subject: Added fading in/out sprites --- 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 42aa516..7474c54 100644 --- a/src/animation_system.h +++ b/src/animation_system.h @@ -31,6 +31,7 @@ private: Game& game_; std::vector animTimers_ = {{1000/5}, {1000/60}};//30fps * 1000 t/s;; Timer bobbingTimer_ {1000/7}; + Timer fadingTimer_ {1000/60}; }; #endif /* end of include guard: ANIMATION_SYSTEM_H_CCCC7CB8 */ -- cgit 1.4.1