projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed jump behaviour: Tux will now jump even if the button was pressed (up to)...
[supertux.git]
/
src
/
object
/
falling_coin.hpp
diff --git
a/src/object/falling_coin.hpp
b/src/object/falling_coin.hpp
index
c801902
..
8eeabb3
100644
(file)
--- a/
src/object/falling_coin.hpp
+++ b/
src/object/falling_coin.hpp
@@
-1,4
+1,4
@@
-// $Id
: infoblock.hpp 3327 2006-04-13 15:02:40Z ravu_al_hemio
$
+// $Id$
//
// SuperTux
// Copyright (C) 2006 Ondrej Hosek <ondra.hosek@gmail.com>
//
// SuperTux
// Copyright (C) 2006 Ondrej Hosek <ondra.hosek@gmail.com>
@@
-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