projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
had more changes lying around here
[supertux.git]
/
src
/
badguy
/
mrbomb.h
diff --git
a/src/badguy/mrbomb.h
b/src/badguy/mrbomb.h
index
a20b253
..
4e7943c
100644
(file)
--- a/
src/badguy/mrbomb.h
+++ b/
src/badguy/mrbomb.h
@@
-6,14
+6,18
@@
class MrBomb : public BadGuy
{
public:
class MrBomb : public BadGuy
{
public:
- MrBomb(LispReader& reader);
+ MrBomb(const lisp::Lisp& reader);
+ MrBomb(float pos_x, float pos_y, Direction d);
void activate();
void activate();
- void write(
Lisp
Writer& writer);
+ void write(
lisp::
Writer& writer);
HitResponse collision_solid(GameObject& other, const CollisionHit& hit);
HitResponse collision_solid(GameObject& other, const CollisionHit& hit);
+ HitResponse collision_badguy(BadGuy& badguy, const CollisionHit& hit);
protected:
bool collision_squished(Player& player);
protected:
bool collision_squished(Player& player);
+ bool set_direction;
+ Direction initial_direction;
};
#endif
};
#endif