X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fbadguy%2Fsmartball.cpp;h=ad566d6c95d41e72a5a9cfb285452a79d197ab7c;hb=5f860f41a3f362de0a5dda951ff2ba4ebff95681;hp=ed5589fa65d3bf9d0415f65440002979bea9ab8e;hpb=058e2f6298d8319c0fe03c5e950a36a8f1f57aba;p=supertux.git diff --git a/src/badguy/smartball.cpp b/src/badguy/smartball.cpp index ed5589fa6..ad566d6c9 100644 --- a/src/badguy/smartball.cpp +++ b/src/badguy/smartball.cpp @@ -1,12 +1,10 @@ -// $Id$ -// // SuperTux - Smart Snowball // Copyright (C) 2008 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,17 +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 "smartball.hpp" +#include "badguy/smartball.hpp" -#include "object_factory.hpp" #include "sprite/sprite.hpp" +#include "supertux/object_factory.hpp" -SmartBall::SmartBall(const lisp::Lisp& reader) +SmartBall::SmartBall(const Reader& reader) : WalkingBadguy(reader, "images/creatures/snowball/smart-snowball.sprite", "left", "right") { walk_speed = 80; @@ -46,4 +41,4 @@ SmartBall::collision_squished(GameObject& object) return true; } -IMPLEMENT_FACTORY(SmartBall, "smartball") +/* EOF */