projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Patch by mathnerd314 <man.is.allan@gmail.com> resolves issue 0000302: Mr. Ice Block...
[supertux.git]
/
src
/
object
/
firefly.hpp
diff --git
a/src/object/firefly.hpp
b/src/object/firefly.hpp
index
b167b3a
..
6325087
100644
(file)
--- 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 "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
/**
* A Firefly: When tux touches it, it begins buzzing and you will respawn at this
@@
-39,7
+40,8
@@
public:
private:
bool activated;
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
};
#endif
-