X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fobject%2Felectrifier.hpp;h=3ad746c2a7abf477d08b4e6ecdc10d1c1d27ad30;hb=657fc40723665c04b3150946f5bd66b6b0af9230;hp=26d95794815c79469396299503fdb8dc863d1a5e;hpb=c0f89d7deb1370b40b39ff1d4f53870bb4fba72e;p=supertux.git diff --git a/src/object/electrifier.hpp b/src/object/electrifier.hpp index 26d957948..3ad746c2a 100644 --- a/src/object/electrifier.hpp +++ b/src/object/electrifier.hpp @@ -1,4 +1,7 @@ +// $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 @@ -9,11 +12,10 @@ // 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. +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #ifndef __ELECTRIFIER_H__ #define __ELECTRIFIER_H__ @@ -21,6 +23,7 @@ #include "resources.hpp" #include "game_object.hpp" #include "timer.hpp" +#include //Changes all tiles with the given ID to a new one for a given amount of time, then removes itself //Used by the Kugelblitz to electrify water - can be used for other effects, too @@ -29,7 +32,7 @@ class Electrifier : public GameObject public: Electrifier(uint32_t oldtile, uint32_t newtile, float seconds); ~Electrifier(); -protected: +protected: virtual void update(float time); virtual void draw(DrawingContext& context); private: @@ -39,4 +42,3 @@ private: }; #endif -