#include <thunderstorm.hpp>
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 | |
_Thunderstorm * | thunderstorm |
Private Member Functions | |
Thunderstorm (const Thunderstorm &) | |
Thunderstorm & | operator= (const Thunderstorm &) |
Definition at line 27 of file thunderstorm.hpp.
scripting::Thunderstorm::Thunderstorm | ( | _Thunderstorm * | thunderstorm | ) |
Thunderstorm::~Thunderstorm | ( | ) |
scripting::Thunderstorm::Thunderstorm | ( | const Thunderstorm & | ) | [private] |
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] |
Definition at line 66 of file thunderstorm.hpp.