blob: a16622bbe926c6f959134ae98a5beec9c833acf5 (
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
28
29
30
31
32
|
#ifndef PONDERING_H_F2530E0E
#define PONDERING_H_F2530E0E
#include "system.h"
#include "components/mappable.h"
#include "components/ponderable.h"
#include "direction.h"
class PonderingSystem : public System {
public:
PonderingSystem(Game& game) : System(game)
{
}
void tick(double dt);
void initializeBody(id_type entity, PonderableComponent::Type type);
private:
void processCollision(
id_type entity,
Direction dir,
double& newX,
double& newY,
int axis,
MappableComponent::Boundary::Type type);
};
#endif /* end of include guard: PONDERING_H_F2530E0E */
|