scripting::Thunderstorm Class Reference

#include <thunderstorm.hpp>

List of all members.

Public Member Functions

 Thunderstorm (_Thunderstorm *thunderstorm)
 ~Thunderstorm ()
void start ()
 Start playing thunder and lightning at configured interval.
void stop ()
 Stop playing thunder and lightning at configured interval.
void thunder ()
 Play thunder.
void lightning ()
 Play lightning, i.e.
void flash ()
 Display a nice flash.
void electrify ()
 Electrify water throughout the whole sector for a short time.

Public Attributes

_Thunderstormthunderstorm

Private Member Functions

 Thunderstorm (const Thunderstorm &)
Thunderstormoperator= (const Thunderstorm &)


Detailed Description

Definition at line 27 of file thunderstorm.hpp.


Constructor & Destructor Documentation

scripting::Thunderstorm::Thunderstorm ( _Thunderstorm thunderstorm  ) 

Thunderstorm::~Thunderstorm (  ) 

Definition at line 28 of file thunderstorm.cpp.

00029 {
00030 }

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


Member Function Documentation

void Thunderstorm::start (  ) 

Start playing thunder and lightning at configured interval.

Definition at line 32 of file thunderstorm.cpp.

References Thunderstorm::start().

Referenced by scripting::wrapper::Thunderstorm_start_wrapper().

00033 {
00034   thunderstorm->start();
00035 }

void Thunderstorm::stop (  ) 

Stop playing thunder and lightning at configured interval.

Definition at line 37 of file thunderstorm.cpp.

References Thunderstorm::stop().

Referenced by scripting::wrapper::Thunderstorm_stop_wrapper().

00038 {
00039   thunderstorm->stop();
00040 }

void Thunderstorm::thunder (  ) 

Play thunder.

Definition at line 42 of file thunderstorm.cpp.

References Thunderstorm::thunder().

Referenced by scripting::wrapper::Thunderstorm_thunder_wrapper().

00043 {
00044   thunderstorm->thunder();
00045 }

void Thunderstorm::lightning (  ) 

Play lightning, i.e.

call flash() and electrify()

Definition at line 47 of file thunderstorm.cpp.

References Thunderstorm::lightning().

Referenced by scripting::wrapper::Thunderstorm_lightning_wrapper().

00048 {
00049   thunderstorm->lightning();
00050 }

void Thunderstorm::flash (  ) 

Display a nice flash.

Definition at line 52 of file thunderstorm.cpp.

References Thunderstorm::flash().

Referenced by scripting::wrapper::Thunderstorm_flash_wrapper().

00053 {
00054   thunderstorm->flash();
00055 }

void Thunderstorm::electrify (  ) 

Electrify water throughout the whole sector for a short time.

Definition at line 57 of file thunderstorm.cpp.

References Thunderstorm::electrify().

Referenced by scripting::wrapper::Thunderstorm_electrify_wrapper().

00058 {
00059   thunderstorm->electrify();
00060 }

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


Member Data Documentation

_Thunderstorm* scripting::Thunderstorm::thunderstorm

Definition at line 66 of file thunderstorm.hpp.


The documentation for this class was generated from the following files:
Generated on Mon Jun 9 03:38:40 2014 for SuperTux by  doxygen 1.5.1