X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fbadguy%2Fsmartball.hpp;h=9ea8a55170c9329b702af1e5c24ca447a163d400;hb=29ec866f6472779b2559f23f969b0317e348beb8;hp=3631f39bf1d77afd91fc7842023877e3529d549c;hpb=6c048de80b00a88e9c43290b1e5ccd1dd35e74a4;p=supertux.git diff --git a/src/badguy/smartball.hpp b/src/badguy/smartball.hpp index 3631f39bf..9ea8a5517 100644 --- a/src/badguy/smartball.hpp +++ b/src/badguy/smartball.hpp @@ -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,13 +12,12 @@ // 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 __SMARTBALL_H__ -#define __SMARTBALL_H__ +#ifndef HEADER_SUPERTUX_BADGUY_SMARTBALL_HPP +#define HEADER_SUPERTUX_BADGUY_SMARTBALL_HPP -#include "walking_badguy.hpp" +#include "badguy/walking_badguy.hpp" /* * Easy to kill badguy that does not jump down from it's ledge. @@ -28,14 +25,14 @@ class SmartBall : public WalkingBadguy { public: - SmartBall(const lisp::Lisp& reader); + SmartBall(const Reader& reader); SmartBall(const Vector& pos, Direction d); - virtual SmartBall* clone() const { return new SmartBall(*this); } - protected: bool collision_squished(GameObject& object); }; #endif + +/* EOF */