blob: 7e342df86d1f4caf3390fb4c5020cb14d85c02f0 (
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
 | #ifndef PONDERING_H_F2530E0E
#define PONDERING_H_F2530E0E
#include "system.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::BodyType bodyType,
    PonderableComponent::ColliderType colliderType);
private:
  void processBodyCollision(id_type body, id_type collider);
};
#endif /* end of include guard: PONDERING_H_F2530E0E */
 |