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

#include "system.h"
#include <queue>

class ControllingSystem : public System {
public:

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

  void tick(double dt);
  void input(int key, int action);

private:

  std::queue<std::pair<int,int>> actions_;
};

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