fix iconv signature problems
[supertux.git] / src / badguy / spike.cpp
index 5d046ee..0db1dfb 100644 (file)
@@ -1,3 +1,24 @@
+//  $Id$
+// 
+//  SuperTux
+//  Copyright (C) 2005 Matthias Braun <matze@braunis.de>
+//
+//  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 <config.h>
+
 #include "spike.h"
 
 Spike::Spike(const Vector& pos, Direction dir)
@@ -7,6 +28,7 @@ Spike::Spike(const Vector& pos, Direction dir)
   bbox.set_pos(Vector(0, 0));
   bbox.set_size(32, 32);
   set_direction(dir);
+  countMe = false;
 }
 
 Spike::Spike(const lisp::Lisp& reader)
@@ -18,6 +40,7 @@ Spike::Spike(const lisp::Lisp& reader)
   int idir = 0;
   reader.get("direction", idir);
   set_direction((Direction) idir);
+  countMe = false;
 }
 
 void
@@ -59,7 +82,7 @@ Spike::kill_fall()
 }
 
 void
-Spike::active_action(float )
+Spike::active_update(float )
 {
 }