X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fobject%2Fcoin.h;h=3befd26b386273778ae1d488c276e09147c79a24;hb=d8496f30a608d6827fefdfe33234acb6f4d8f0fe;hp=fd827ed519ce622e1ba047ddb1a008381c6aa250;hpb=7a87271678d68514ae2158c0c7adb383d6002872;p=supertux.git diff --git a/src/object/coin.h b/src/object/coin.h index fd827ed51..3befd26b3 100644 --- a/src/object/coin.h +++ b/src/object/coin.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 __COIN_H__ #define __COIN_H__ -#include "special/moving_object.h" +#include "moving_object.h" +#include "lisp/lisp.h" -namespace SuperTux { - class Sprite; -} - -using namespace SuperTux; +class Sprite; class Coin : public MovingObject { public: Coin(const Vector& pos); + Coin(const lisp::Lisp& reader); ~Coin(); HitResponse collision(GameObject& other, const CollisionHit& hit);