// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
-
#ifndef __FLOWER_H__
#define __FLOWER_H__
#include "moving_object.h"
#include "sprite/sprite.h"
-#include "math/physic.h"
-
-using namespace SuperTux;
+#include "physic.h"
class Flower : public MovingObject
{
enum Type {
FIREFLOWER, ICEFLOWER
};
- Flower(const Vector& pos, Type type);
+ Flower(Type type);
~Flower();
- virtual void action(float elapsed_time);
+ virtual void update(float elapsed_time);
virtual void draw(DrawingContext& context);
virtual HitResponse collision(GameObject& other, const CollisionHit& hit);