X-Git-Url: https://git.octo.it/?a=blobdiff_plain;ds=sidebyside;f=src%2Fobject%2Ftrampoline.hpp;h=9f7fc77784d5c101eed9004ab33f608723409be9;hb=2b45f156e1b9efe8739dddefb5371374cc315f20;hp=c7653c0ea839a536890deaa23faec30ea2cc5846;hpb=4587bd9c8fc5cbb20f1e442de76bc06571ab56ba;p=supertux.git diff --git a/src/object/trampoline.hpp b/src/object/trampoline.hpp index c7653c0ea..9f7fc7778 100644 --- a/src/object/trampoline.hpp +++ b/src/object/trampoline.hpp @@ -1,12 +1,10 @@ -// $Id$ -// -// SuperTux - Trampolin +// SuperTux - Trampoline // Copyright (C) 2006 Wolfgang Becker // -// 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 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 3 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 @@ -14,23 +12,21 @@ // 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. +// along with this program. If not, see . -#ifndef SUPERTUX_TRAMPOLINE_H -#define SUPERTUX_TRAMPOLINE_H +#ifndef HEADER_SUPERTUX_OBJECT_TRAMPOLINE_HPP +#define HEADER_SUPERTUX_OBJECT_TRAMPOLINE_HPP -#include "moving_sprite.hpp" -#include "lisp/lisp.hpp" #include "object/rock.hpp" /** - * Jumping on a trampolin makes tux jump higher. + * Jumping on a trampoline makes tux jump higher. */ class Trampoline : public Rock { public: - Trampoline(const lisp::Lisp& reader); + Trampoline(const Reader& reader); + Trampoline(const Vector& pos, bool port); HitResponse collision(GameObject& other, const CollisionHit& hit); void collision_solid(const CollisionHit& hit); @@ -46,3 +42,5 @@ private: }; #endif + +/* EOF */