Commit | Line | Data |
---|---|---|
f206d19d PG |
1 | #include "effectManager.h" |
2 | ||
3 | #include "Effects/Gravity.h" | |
4 | ||
5 | Gravity* g = new Gravity(); | |
6 | ||
7 | Vector2 effect::positionDelta(const PhysicsEntity* e, float time_step) | |
8 | { | |
9 | return g->positionDelta(e, time_step); | |
10 | } | |
11 | Vector2 effect::velocityDelta(const PhysicsEntity* e, float time_step) | |
12 | { | |
13 | return g->velocityDelta(e, time_step); | |
14 | } | |
15 | Vector2 effect::forceDelta(const PhysicsEntity* e, float time_step) | |
16 | { | |
17 | return g->forceDelta(e, time_step); | |
18 | } |