summary refs log tree commit diff stats
path: root/src/animation.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/animation.h')
-rw-r--r--src/animation.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/animation.h b/src/animation.h index 0108c12..f1eddb6 100644 --- a/src/animation.h +++ b/src/animation.h
@@ -20,6 +20,8 @@ public:
20 return frames_.at(animations_.at(animationId_).at(animationFrame_)); 20 return frames_.at(animations_.at(animationId_).at(animationFrame_));
21 } 21 }
22 22
23 Direction getDirection() const { return dir_; }
24
23 void update(int dt); 25 void update(int dt);
24 26
25private: 27private: