projects
/
physics.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Effects changed to delta system
[physics.git]
/
src
/
Effects
/
Gravity.h
1
#ifndef GRAVITY_H
2
#define GRAVITY_H
3
4
#include "../Vector2.h"
5
#include "Effect.h"
6
7
/// ***** Header Class *****
8
class Gravity: public Effect
9
{
10
public:
11
Gravity();
12
~Gravity();
13
14
Vector2 positionDelta(const PhysicsEntity*, float);
15
Vector2 velocityDelta(const PhysicsEntity*, float);
16
Vector2 forceDelta(const PhysicsEntity*, float);
17
};
18
19
#endif // GRAVITY_H