projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merged gravity patch by T. Goya
[supertux.git]
/
src
/
object
/
falling_coin.hpp
diff --git
a/src/object/falling_coin.hpp
b/src/object/falling_coin.hpp
index
04358dd
..
8eeabb3
100644
(file)
--- a/
src/object/falling_coin.hpp
+++ b/
src/object/falling_coin.hpp
@@
-26,7
+26,7
@@
#include "video/drawing_context.hpp"
#include "physic.hpp"
#include "video/drawing_context.hpp"
#include "physic.hpp"
-class FallingCoin : public GameObject
+class FallingCoin : public GameObject
, private UsesPhysic
{
public:
FallingCoin(const Vector& start_position, const int x_vel);
{
public:
FallingCoin(const Vector& start_position, const int x_vel);
@@
-37,7
+37,6
@@
public:
private:
Vector pos;
Sprite* sprite;
private:
Vector pos;
Sprite* sprite;
- Physic physic;
};
#endif
};
#endif