X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fobject%2Ffirefly.hpp;h=632508794be760db7b1c21a3d5e0cc8d476696cc;hb=5745d9670262c91e6cd35363fd0d2ec169e7c8a4;hp=b167b3af7bba227375cf91a3a5c0a9f26ad28d0a;hpb=15c5a91ee89272dfda3666e2fed67e06d650d0bf;p=supertux.git diff --git a/src/object/firefly.hpp b/src/object/firefly.hpp index b167b3af7..632508794 100644 --- a/src/object/firefly.hpp +++ b/src/object/firefly.hpp @@ -23,6 +23,7 @@ #include "lisp/lisp.hpp" #include "object/moving_sprite.hpp" #include "serializable.hpp" +#include "badguy/badguy.hpp" /** * A Firefly: When tux touches it, it begins buzzing and you will respawn at this @@ -39,7 +40,8 @@ public: private: bool activated; + Vector initial_position; /**< position as in level file. This is where Tux will have to respawn, as the level is reset every time */ + void reactivate(); }; #endif -