summary refs log tree commit diff stats
path: root/src/systems/animating.h
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2018-02-08 12:34:42 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2018-02-08 12:34:42 -0500
commitcefe66cdbb8786dc455657376e36f0ff8785d5bc (patch)
tree7e90536fad90f2954b3834dc4959f402883c32b3 /src/systems/animating.h
parentcec0ed92c4035c4421d3cc2448f5423fcbb7f7d4 (diff)
downloadtherapy-cefe66cdbb8786dc455657376e36f0ff8785d5bc.tar.gz
therapy-cefe66cdbb8786dc455657376e36f0ff8785d5bc.tar.bz2
therapy-cefe66cdbb8786dc455657376e36f0ff8785d5bc.zip
Introduced animated sprites
Also restyled a lot of the code.
Diffstat (limited to 'src/systems/animating.h')
-rw-r--r--src/systems/animating.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/systems/animating.h b/src/systems/animating.h new file mode 100644 index 0000000..150a74a --- /dev/null +++ b/src/systems/animating.h
@@ -0,0 +1,20 @@
1#ifndef ANIMATING_H_5BBF0094
2#define ANIMATING_H_5BBF0094
3
4#include "system.h"
5#include <string>
6
7class AnimatingSystem : public System {
8public:
9
10 AnimatingSystem(Game& game) : System(game)
11 {
12 }
13
14 void tick(double dt);
15
16 void startAnimation(id_type entity, std::string animation);
17
18};
19
20#endif /* end of include guard: ANIMATING_H_5BBF0094 */