X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fbadguy%2Fstalactite.cpp;h=784d262d6285e0a8ea20bc2eb2e969b35a395bdb;hb=2b18d7e2549f4be99533fed58c0f07887a19db37;hp=b562ff2b9f237722406d47fb87f76aa2c89391ce;hpb=5e12121c11b1f2b6fe32fa285a6a40eece80fa91;p=supertux.git diff --git a/src/badguy/stalactite.cpp b/src/badguy/stalactite.cpp index b562ff2b9..784d262d6 100644 --- a/src/badguy/stalactite.cpp +++ b/src/badguy/stalactite.cpp @@ -1,3 +1,23 @@ +// $Id$ +// +// SuperTux +// Copyright (C) 2005 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 distributed in the hope that it will be useful, +// 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. + #include #include "stalactite.h" @@ -99,13 +119,4 @@ Stalactite::deactivate() remove_me(); } -bool -Stalactite::is_harmful() -{ - if (state == STALACTITE_SQUISHED) - return false; - else - return true; -} - IMPLEMENT_FACTORY(Stalactite, "stalactite")