X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fobject%2Funstable_tile.h;h=f6ffb9676b3fe4d8a4a523071ad04ea9b7007c67;hb=eb7c6ccdd326f6bceb67cd5259015dd994b04928;hp=3aca83571b367671a9cd211d4052b6ddfab6e2e1;hpb=20f975e6fefc179e110cff27d424ec231b8d3801;p=supertux.git diff --git a/src/object/unstable_tile.h b/src/object/unstable_tile.h index 3aca83571..f6ffb9676 100644 --- a/src/object/unstable_tile.h +++ b/src/object/unstable_tile.h @@ -1,18 +1,33 @@ +// $Id$ +// +// SuperTux +// Copyright (C) 2005 Matthias Braun +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// 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 "special/moving_object.h" +#include "moving_object.h" #include "lisp/lisp.h" -#include "math/physic.h" +#include "physic.h" #include "timer.h" -namespace SuperTux { - class Sprite; -} +class Sprite; class Player; -using namespace SuperTux; - /** A tile that starts falling down if tux stands to long on it */ class UnstableTile : public MovingObject { @@ -27,7 +42,7 @@ public: private: Physic physic; Sprite* sprite; - Timer2 timer; + Timer timer; bool hit; bool falling; };