blob: d6f0789cbd7628e2965fedf72ff46cd6bb26dc2b (
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
26
27
|
#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);
void freeze(id_type entity);
void unfreeze(id_type entity);
private:
std::queue<std::pair<int,int>> actions_;
};
#endif /* end of include guard: CONTROLLING_H_80B1BB8D */
|