#ifndef __SNAIL_H__
#define __SNAIL_H__
-#include "badguy.hpp"
+#include "walking_badguy.hpp"
/**
* Badguy "Snail" - a snail-like creature that can be flipped and tossed around at an angle
*/
-class Snail : public BadGuy
+class Snail : public WalkingBadguy
{
public:
Snail(const lisp::Lisp& reader);
void write(lisp::Writer& writer);
void collision_solid(const CollisionHit& hit);
HitResponse collision_badguy(BadGuy& badguy, const CollisionHit& hit);
+ bool can_break();
void active_update(float elapsed_time);
};
#endif
-