X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fscripting%2Fplatform.cpp;h=7adfde6c7d562766f1929e84af42a68aff914915;hb=08813a74da6ac1fd045a105e4e8105f1d7f716f0;hp=fa44f2b3c139ff0eec02f776dc1fa38230855c4e;hpb=f406067af6cbeb0a638078fe1d386d092583909c;p=supertux.git diff --git a/src/scripting/platform.cpp b/src/scripting/platform.cpp index fa44f2b3c..7adfde6c7 100644 --- a/src/scripting/platform.cpp +++ b/src/scripting/platform.cpp @@ -1,12 +1,10 @@ -// $Id$ -// // SuperTux // Copyright (C) 2006 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 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,42 +12,37 @@ // 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 -#include #include "object/platform.hpp" #include "scripting/platform.hpp" -#include "math/vector.hpp" #define NOIMPL log_fatal << __PRETTY_FUNCTION__ << " not implemented." -namespace Scripting -{ +namespace Scripting { - Platform::Platform(::Platform* platform) - : platform(platform) - { } +Platform::Platform(::Platform* platform) + : platform(platform) +{ } - Platform::~Platform() - { } +Platform::~Platform() +{ } - void Platform::goto_node(int node_no) - { - platform->goto_node(node_no); - } +void Platform::goto_node(int node_no) +{ + platform->goto_node(node_no); +} - void Platform::start_moving() - { - platform->start_moving(); - } +void Platform::start_moving() +{ + platform->start_moving(); +} - void Platform::stop_moving() - { - platform->stop_moving(); - } +void Platform::stop_moving() +{ + platform->stop_moving(); +} } + +/* EOF */