projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Made buttjump a bit easier to perform
[supertux.git]
/
src
/
object
/
flower.hpp
diff --git
a/src/object/flower.hpp
b/src/object/flower.hpp
index
637f1a9
..
e1c06ac
100644
(file)
--- a/
src/object/flower.hpp
+++ b/
src/object/flower.hpp
@@
-22,15
+22,12
@@
#include "moving_object.hpp"
#include "sprite/sprite.hpp"
#include "moving_object.hpp"
#include "sprite/sprite.hpp"
-#include "p
hysic
.hpp"
+#include "p
layer_status
.hpp"
class Flower : public MovingObject
{
public:
class Flower : public MovingObject
{
public:
- enum Type {
- FIREFLOWER, ICEFLOWER
- };
- Flower(Type type);
+ Flower(BonusType type);
~Flower();
virtual void update(float elapsed_time);
~Flower();
virtual void update(float elapsed_time);
@@
-38,9
+35,8
@@
public:
virtual HitResponse collision(GameObject& other, const CollisionHit& hit);
private:
virtual HitResponse collision(GameObject& other, const CollisionHit& hit);
private:
- Type type;
+
Bonus
Type type;
Sprite* sprite;
};
#endif
Sprite* sprite;
};
#endif
-