summary refs log tree commit diff stats
path: root/src/systems/animating.h
blob: 548bff112aa5fc3e286cf25a0c92bdea90b2c138 (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
#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 startAnimation(id_type entity, std::string animation);

};

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