summary refs log tree commit diff stats
path: root/src/systems/animating.h
blob: acc619109eb0a83da6ec1181c6ac12888e604b5c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef ANIMATING_H_5BBF0094
#define ANIMATING_H_5BBF0094

#include "system.h"
#include <string>
#include "renderer/texture.h"

class AnimatingSystem : public System {
public:

  AnimatingSystem(Game& game) : System(game)
  {
  }

  void tick(double dt);

  void render(Texture& texture);

  void initPrototype(id_type entity);

  void startAnimation(id_type entity, std::string animation);

};

#endif /* end of include guard: ANIMATING_H_5BBF0094 */