| 1 | // SuperTux |
|---|---|
| 2 | // Copyright (C) 2006 Matthias Braun <matze@braunis.de> |
| 3 | // |
| 4 | // This program is free software: you can redistribute it and/or modify |
| 5 | // it under the terms of the GNU General Public License as published by |
| 6 | // the Free Software Foundation, either version 3 of the License, or |
| 7 | // (at your option) any later version. |
| 8 | // |
| 9 | // This program is distributed in the hope that it will be useful, |
| 10 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 | // GNU General Public License for more details. |
| 13 | // |
| 14 | // You should have received a copy of the GNU General Public License |
| 15 | // along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 16 | |
| 17 | #include "object/thunderstorm.hpp" |
| 18 | |
| 19 | namespace scripting { |
| 20 | |
| 21 | void Thunderstorm::start() |
| 22 | { |
| 23 | SCRIPT_GUARD_VOID; |
| 24 | object.start(); |
| 25 | } |
| 26 | |
| 27 | void Thunderstorm::stop() |
| 28 | { |
| 29 | SCRIPT_GUARD_VOID; |
| 30 | object.stop(); |
| 31 | } |
| 32 | |
| 33 | void Thunderstorm::thunder() |
| 34 | { |
| 35 | SCRIPT_GUARD_VOID; |
| 36 | object.thunder(); |
| 37 | } |
| 38 | |
| 39 | void Thunderstorm::lightning() |
| 40 | { |
| 41 | SCRIPT_GUARD_VOID; |
| 42 | object.lightning(); |
| 43 | } |
| 44 | |
| 45 | void Thunderstorm::flash() |
| 46 | { |
| 47 | SCRIPT_GUARD_VOID; |
| 48 | object.flash(); |
| 49 | } |
| 50 | |
| 51 | void Thunderstorm::electrify() |
| 52 | { |
| 53 | SCRIPT_GUARD_VOID; |
| 54 | object.electrify(); |
| 55 | } |
| 56 | |
| 57 | } // namespace scripting |
| 58 | |
| 59 | /* EOF */ |
| 60 |