#include <candle.hpp>
Public Member Functions | |
Candle (_Candle *candle) | |
~Candle () | |
bool | get_burning () |
returns true if candle is lighted | |
void | set_burning (bool burning) |
true: light candle, false: extinguish candle | |
Public Attributes | |
_Candle * | candle |
Private Member Functions | |
Candle (const Candle &) | |
Candle & | operator= (const Candle &) |
Definition at line 27 of file candle.hpp.
scripting::Candle::Candle | ( | _Candle * | candle | ) |
Candle::~Candle | ( | ) |
scripting::Candle::Candle | ( | const Candle & | ) | [private] |
bool Candle::get_burning | ( | ) |
returns true if candle is lighted
Definition at line 29 of file candle.cpp.
Referenced by scripting::wrapper::Candle_get_burning_wrapper().
00030 { 00031 return candle->get_burning(); 00032 }
void Candle::set_burning | ( | bool | burning | ) |
true: light candle, false: extinguish candle
Definition at line 34 of file candle.cpp.
Referenced by scripting::wrapper::Candle_set_burning_wrapper().
00035 { 00036 candle->set_burning(burning); 00037 }
Definition at line 39 of file candle.hpp.