X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fscripting%2Flevel_time.cpp;h=736b6b2aea64901635cd0b22cb4f3b7af5c3324d;hb=f5ad6f69da56235de950f21de30563802c6f2e06;hp=865681c3aaa64c2a265e7e332420a14bc1c58ace;hpb=fea3446f05e1e7673607b835c269d3e8d1929ab3;p=supertux.git diff --git a/src/scripting/level_time.cpp b/src/scripting/level_time.cpp index 865681c3a..736b6b2ae 100644 --- a/src/scripting/level_time.cpp +++ b/src/scripting/level_time.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,47 +12,42 @@ // 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/level_time.hpp" #include "scripting/level_time.hpp" -#include "math/vector.hpp" #define NOIMPL log_fatal << __PRETTY_FUNCTION__ << " not implemented." -namespace Scripting -{ +namespace scripting { - LevelTime::LevelTime(::LevelTime* level_time) - : level_time(level_time) - { } +LevelTime::LevelTime(::LevelTime* level_time_) + : level_time(level_time_) +{ } - LevelTime::~LevelTime() - { } +LevelTime::~LevelTime() +{ } - void LevelTime::start() - { - level_time->start(); - } +void LevelTime::start() +{ + level_time->start(); +} - void LevelTime::stop() - { - level_time->stop(); - } +void LevelTime::stop() +{ + level_time->stop(); +} - float LevelTime::get_time() - { - return level_time->get_time(); - } +float LevelTime::get_time() +{ + return level_time->get_time(); +} - void LevelTime::set_time(float time_left) - { - level_time->set_time(time_left); - } +void LevelTime::set_time(float time_left) +{ + level_time->set_time(time_left); +} } + +/* EOF */