X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fobject%2Fcandle.hpp;h=c82db5e31ed3996780de6add5d9f499347b51a9a;hb=04a3157ef478169b5a3fc05dae00ed6ee6a1fae2;hp=95d005a400a78a74f1eec5c9d34616da644dfb52;hpb=31ddd3003af65d55f51044a8bf82f6ce999f86f5;p=supertux.git diff --git a/src/object/candle.hpp b/src/object/candle.hpp index 95d005a40..c82db5e31 100644 --- a/src/object/candle.hpp +++ b/src/object/candle.hpp @@ -42,10 +42,16 @@ public: virtual void expose(HSQUIRRELVM vm, SQInteger table_idx); virtual void unexpose(HSQUIRRELVM vm, SQInteger table_idx); + /** + * @name Scriptable Methods + * @{ + */ void puff_smoke(); /**< spawn a puff of smoke */ - bool get_burning(); /**< returns true if candle is lighted */ void set_burning(bool burning); /**< true: light candle, false: extinguish candle */ + /** + * @} + */ private: bool burning; /**< true if candle is currently lighted */