X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fobject%2Flevel_time.hpp;h=6d9a3a271aac2962278e32723f7e5df584a3e136;hb=75acd4b141f45e851a492f089aa9ad24a9552409;hp=45f001a6eed77ffd8714072e2a879e07f6e5b7f4;hpb=97571f801799e77920f32dbc433a805053fe6124;p=supertux.git diff --git a/src/object/level_time.hpp b/src/object/level_time.hpp index 45f001a6e..6d9a3a271 100644 --- a/src/object/level_time.hpp +++ b/src/object/level_time.hpp @@ -20,34 +20,37 @@ #ifndef __LEVELTIME_H__ #define __LEVELTIME_H__ -#include #include "game_object.hpp" #include "timer.hpp" #include "lisp/lisp.hpp" #include "video/surface.hpp" #include "script_interface.hpp" +#include "video/color.hpp" + +#include class LevelTime : public GameObject, public ScriptInterface { + static Color text_color; public: LevelTime(const lisp::Lisp& reader); - + virtual void expose(HSQUIRRELVM vm, SQInteger table_idx); virtual void unexpose(HSQUIRRELVM vm, SQInteger table_idx); void update(float elapsed_time); void draw(DrawingContext& context); - /** + /** * @name Scriptable Methods - * @{ + * @{ */ /** * Resumes the countdown */ void start(); - + /** * Pauses the countdown */ @@ -63,8 +66,8 @@ public: */ void set_time(float time_left); - /** - * @} + /** + * @} */ private: