1 #ifndef __UNSTABLE_TILE_H__
2 #define __UNSTABLE_TILE_H__
4 #include "special/moving_object.h"
6 #include "math/physic.h"
14 using namespace SuperTux;
16 /** A tile that starts falling down if tux stands to long on it */
17 class UnstableTile : public MovingObject
20 UnstableTile(const lisp::Lisp& lisp);
23 HitResponse collision(GameObject& other, const CollisionHit& hit);
24 void action(float elapsed_time);
25 void draw(DrawingContext& context);