#include "moving_object.hpp"
#include "sprite/sprite.hpp"
-#include "physic.hpp"
+#include "player_status.hpp"
class Flower : public MovingObject
{
public:
- enum Type {
- FIREFLOWER, ICEFLOWER
- };
- Flower(Type type);
+ Flower(BonusType type);
~Flower();
virtual void update(float elapsed_time);
virtual HitResponse collision(GameObject& other, const CollisionHit& hit);
private:
- Type type;
+ BonusType type;
Sprite* sprite;
};
#endif
-