summary refs log tree commit diff stats
path: root/src/animation_system.h
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2021-02-26 18:54:38 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2021-02-26 18:54:38 -0500
commitc1fc60c5a2a4b96b830afc29942648714944b9d7 (patch)
tree8460df9e93491b8ba138f7f1cba41572b65fc537 /src/animation_system.h
parentaf49b5366d35173702a2b3bd70ac4254b8855538 (diff)
downloadtanetane-c1fc60c5a2a4b96b830afc29942648714944b9d7.tar.gz
tanetane-c1fc60c5a2a4b96b830afc29942648714944b9d7.tar.bz2
tanetane-c1fc60c5a2a4b96b830afc29942648714944b9d7.zip
Added sprite bobbing (for Lucas underwater)
Diffstat (limited to 'src/animation_system.h')
-rw-r--r--src/animation_system.h1
1 files changed, 1 insertions, 0 deletions
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:
30 30
31 Game& game_; 31 Game& game_;
32 std::vector<Timer> animTimers_ = {{1000/5}, {1000/60}};//30fps * 1000 t/s;; 32 std::vector<Timer> animTimers_ = {{1000/5}, {1000/60}};//30fps * 1000 t/s;;
33 Timer bobbingTimer_ {1000/7};
33}; 34};
34 35
35#endif /* end of include guard: ANIMATION_SYSTEM_H_CCCC7CB8 */ 36#endif /* end of include guard: ANIMATION_SYSTEM_H_CCCC7CB8 */