X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fbadguy%2Fyeti_stalactite.hpp;h=48e38d00379d8fb5b930368d79d14dc5e44dcc26;hb=2740fa90c947ec4d1ff9c7d3eeb12cf31ce4d26e;hp=04897c0e8d474dc2d3f5e08d1bff6bb605e665bb;hpb=fea3446f05e1e7673607b835c269d3e8d1929ab3;p=supertux.git diff --git a/src/badguy/yeti_stalactite.hpp b/src/badguy/yeti_stalactite.hpp index 04897c0e8..48e38d003 100644 --- a/src/badguy/yeti_stalactite.hpp +++ b/src/badguy/yeti_stalactite.hpp @@ -1,12 +1,10 @@ -// $Id$ -// // SuperTux // Copyright (C) 2006 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 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,27 +12,25 @@ // 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 __YETI_STALACTITE_H__ -#define __YETI_STALACTITE_H__ +#ifndef HEADER_SUPERTUX_BADGUY_YETI_STALACTITE_HPP +#define HEADER_SUPERTUX_BADGUY_YETI_STALACTITE_HPP -#include "stalactite.hpp" +#include "badguy/stalactite.hpp" class YetiStalactite : public Stalactite { public: - YetiStalactite(const lisp::Lisp& lisp); + YetiStalactite(const Reader& lisp); virtual ~YetiStalactite(); - void write(lisp::Writer& ); void active_update(float elapsed_time); void start_shaking(); bool is_hanging(); - - virtual YetiStalactite* clone() const { return new YetiStalactite(*this); } + void update(float elapsed_time); }; #endif + +/* EOF */