X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fobject%2Funstable_tile.h;h=f6ffb9676b3fe4d8a4a523071ad04ea9b7007c67;hb=f1e15f44f709d6b4fa45e858dc12d7d701ae8ddc;hp=90cab4e119fd54d49d190ea163d3171a8384d084;hpb=c0093d25093395cb62fc2526ab42be65a9f015b8;p=supertux.git diff --git a/src/object/unstable_tile.h b/src/object/unstable_tile.h index 90cab4e11..f6ffb9676 100644 --- a/src/object/unstable_tile.h +++ b/src/object/unstable_tile.h @@ -17,20 +17,17 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA // 02111-1307, USA. - #ifndef __UNSTABLE_TILE_H__ #define __UNSTABLE_TILE_H__ #include "moving_object.h" #include "lisp/lisp.h" -#include "math/physic.h" +#include "physic.h" #include "timer.h" class Sprite; class Player; -using namespace SuperTux; - /** A tile that starts falling down if tux stands to long on it */ class UnstableTile : public MovingObject { @@ -45,7 +42,7 @@ public: private: Physic physic; Sprite* sprite; - Timer2 timer; + Timer timer; bool hit; bool falling; };