diff options
Diffstat (limited to 'src/systems/pondering.h')
-rw-r--r-- | src/systems/pondering.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/systems/pondering.h b/src/systems/pondering.h index 44e7600..a16622b 100644 --- a/src/systems/pondering.h +++ b/src/systems/pondering.h | |||
@@ -2,6 +2,9 @@ | |||
2 | #define PONDERING_H_F2530E0E | 2 | #define PONDERING_H_F2530E0E |
3 | 3 | ||
4 | #include "system.h" | 4 | #include "system.h" |
5 | #include "components/mappable.h" | ||
6 | #include "components/ponderable.h" | ||
7 | #include "direction.h" | ||
5 | 8 | ||
6 | class PonderingSystem : public System { | 9 | class PonderingSystem : public System { |
7 | public: | 10 | public: |
@@ -11,6 +14,19 @@ public: | |||
11 | } | 14 | } |
12 | 15 | ||
13 | void tick(double dt); | 16 | void tick(double dt); |
17 | |||
18 | void initializeBody(id_type entity, PonderableComponent::Type type); | ||
19 | |||
20 | private: | ||
21 | |||
22 | void processCollision( | ||
23 | id_type entity, | ||
24 | Direction dir, | ||
25 | double& newX, | ||
26 | double& newY, | ||
27 | int axis, | ||
28 | MappableComponent::Boundary::Type type); | ||
29 | |||
14 | }; | 30 | }; |
15 | 31 | ||
16 | #endif /* end of include guard: PONDERING_H_F2530E0E */ | 32 | #endif /* end of include guard: PONDERING_H_F2530E0E */ |