scripting::Candle Class Reference

#include <candle.hpp>

List of all members.

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

_Candlecandle

Private Member Functions

 Candle (const Candle &)
Candleoperator= (const Candle &)


Detailed Description

Definition at line 27 of file candle.hpp.


Constructor & Destructor Documentation

scripting::Candle::Candle ( _Candle candle  ) 

Candle::~Candle (  ) 

Definition at line 26 of file candle.cpp.

00027 { }

scripting::Candle::Candle ( const Candle  )  [private]


Member Function Documentation

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 }

Candle& scripting::Candle::operator= ( const Candle  )  [private]


Member Data Documentation

_Candle* scripting::Candle::candle

Definition at line 39 of file candle.hpp.


The documentation for this class was generated from the following files:
Generated on Mon Apr 14 03:38:50 2014 for SuperTux by  doxygen 1.5.1