X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fobject%2Fplatform.h;h=71200f94080ed42fdc3e4abb97236ab917376350;hb=ddc3b7ef2077567d368e244a292b41187311e8e3;hp=be4119b84f03478e74c5ac9ab8effbe3178e54f8;hpb=d46c78c842ab4090a3f46e560c891234167f124b;p=supertux.git diff --git a/src/object/platform.h b/src/object/platform.h index be4119b84..71200f940 100644 --- a/src/object/platform.h +++ b/src/object/platform.h @@ -1,18 +1,35 @@ +// $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 __PLATFORM_H__ #define __PLATFORM_H__ -#include "special/moving_object.h" -#include "special/sprite.h" - -using namespace SuperTux; +#include "moving_object.h" +#include "sprite/sprite.h" /** * This class is the base class for platforms that tux can stand on */ -class Platform : public SuperTux::MovingObject +class Platform : public MovingObject { public: - Platform(LispReader& reader); + Platform(const lisp::Lisp& reader); ~Platform(); virtual HitResponse collision(GameObject& other, const CollisionHit& hit);