X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fscripting%2Fcandle.cpp;h=018ddb58c49b8eda134bb1b8eceb6679ae9b4e83;hb=c81b842f4880cd7b4958e03e983e50bff95d02ef;hp=cab136cd825c3899c994ef2486f93462443c389b;hpb=fe875e6f18c4ed968f7b1534b4039c8a580b852b;p=supertux.git diff --git a/src/scripting/candle.cpp b/src/scripting/candle.cpp index cab136cd8..018ddb58c 100644 --- a/src/scripting/candle.cpp +++ b/src/scripting/candle.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,37 +12,30 @@ // 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/candle.hpp" #include "scripting/candle.hpp" -#include "math/vector.hpp" -#define NOIMPL log_fatal << __PRETTY_FUNCTION__ << " not implemented." +namespace scripting { -namespace Scripting -{ +Candle::Candle(::Candle* candle) + : candle(candle) +{ } - Candle::Candle(::Candle* candle) - : candle(candle) - { } +Candle::~Candle() +{ } - Candle::~Candle() - { } - - bool Candle::get_burning() - { - return candle->get_burning(); - } +bool Candle::get_burning() +{ + return candle->get_burning(); +} - void Candle::set_burning(bool burning) - { - candle->set_burning(burning); - } +void Candle::set_burning(bool burning) +{ + candle->set_burning(burning); +} } + +/* EOF */