X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fobject%2Flevel_time.hpp;h=2ef9c8c698ce8ceb6c6c6df6c24b270fce843456;hb=20f50f690c18aefbedeeb43eda094c8cb70351a9;hp=98c792622bf123c9f95a7eb64be000150391aa73;hpb=cc2776a002549ae37ecf78be1333e66282780064;p=supertux.git diff --git a/src/object/level_time.hpp b/src/object/level_time.hpp index 98c792622..2ef9c8c69 100644 --- a/src/object/level_time.hpp +++ b/src/object/level_time.hpp @@ -31,7 +31,7 @@ class LevelTime : public GameObject, public ScriptInterface { public: LevelTime(const lisp::Lisp& reader); - + virtual void expose(HSQUIRRELVM vm, SQInteger table_idx); virtual void unexpose(HSQUIRRELVM vm, SQInteger table_idx); @@ -39,10 +39,15 @@ public: void draw(DrawingContext& context); /** + * @name Scriptable Methods + * @{ + */ + + /** * Resumes the countdown */ void start(); - + /** * Pauses the countdown */ @@ -58,6 +63,10 @@ public: */ void set_time(float time_left); + /** + * @} + */ + private: std::auto_ptr time_surface; bool running;