Platform that hurts Tux and Badguys when touched
[supertux.git] / src / object / path_walker.hpp
index 2f759fd..9f237ef 100644 (file)
@@ -1,8 +1,7 @@
-//  $Id: path.hpp 3114 2006-03-23 23:47:04Z sommer $
-// 
-//  SuperTux Path
-//  Copyright (C) 2005 Philipp <balinor@pnxs.de>
-//  Copyright (C) 2006 Christoph Sommer <christoph.sommer@2006.expires.deltadevelopment.de>
+//  $Id$
+//
+//  SuperTux
+//  Copyright (C) 2006 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
 //  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.
+//  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+
 #ifndef __PATH_WALKER_HPP__
 #define __PATH_WALKER_HPP__
 
@@ -42,12 +41,12 @@ public:
    */
   virtual Vector advance(float elapsed_time);
 
+  const Path* path;
+
 private:
   void advance_node();
   void goback_node();
   
-  const Path* path;
-
   size_t current_node_nr;
   size_t next_node_nr;