X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fobject%2Frainsplash.cpp;h=3ad899a2f34886fd9de0f9285e28b6bcb1b0bf23;hb=70bccc4fcdd6c652e53786e52b3c6774dc79a3ac;hp=c69f817a0494da81e794b427d87dc536976a06c5;hpb=fea3446f05e1e7673607b835c269d3e8d1929ab3;p=supertux.git diff --git a/src/object/rainsplash.cpp b/src/object/rainsplash.cpp index c69f817a0..3ad899a2f 100644 --- a/src/object/rainsplash.cpp +++ b/src/object/rainsplash.cpp @@ -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,14 +12,14 @@ // 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. -#include +// along with this program. If not, see . -#include "rainsplash.hpp" -#include "sector.hpp" +#include "object/rainsplash.hpp" -RainSplash::RainSplash(Vector pos, bool vertical) +RainSplash::RainSplash(Vector pos, bool vertical) : + sprite(), + position(), + frame() { frame = 0; position = pos; @@ -49,5 +47,7 @@ RainSplash::update(float time) void RainSplash::draw(DrawingContext& context) { - sprite->draw(context, position, LAYER_OBJECTS); + sprite->draw(context, position, LAYER_OBJECTS); } + +/* EOF */