X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fscripting%2Fcandle.cpp;h=3e4df42354ecfbce9a7fb4a35b06d8e562af00ba;hb=59d76147a1b09fca2d2b4a1780ab47509c1e47ff;hp=1a4d3a65519e7cda92109013d27c23d48f0d0880;hpb=24e5b19904a9b115a92e933bd62748ff5c198613;p=supertux.git diff --git a/src/scripting/candle.cpp b/src/scripting/candle.cpp index 1a4d3a655..3e4df4235 100644 --- a/src/scripting/candle.cpp +++ b/src/scripting/candle.cpp @@ -1,12 +1,10 @@ -// $Id: candle.cpp 3327 2006-04-13 15:02:40Z ravu_al_hemio $ -// // 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 */