X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FHeroine.hh;h=151362e06353c5f966b18e73471c409975ab4f2d;hp=9ee49d13deb603a22e90c46a55553078cd943431;hb=2fdb5f5824826a6c54f5afde8c62eafd24c1a152;hpb=a4debfe4a5f5d339410788971b698ba00cb7f09c diff --git a/src/Heroine.hh b/src/Heroine.hh index 9ee49d1..151362e 100644 --- a/src/Heroine.hh +++ b/src/Heroine.hh @@ -31,28 +31,23 @@ #include -#include -#include #include -#include -#include -#include -#include #include "Character.hh" -struct Heroine; +class Heroine; typedef boost::shared_ptr HeroineP; /** - * Parent class of animate objects with "personalities." This basically - * includes the heroine herself and the bad guys. + * The protagonist. */ -struct Heroine : public Character +class Heroine : public Character { +public: + Heroine(); static HeroineP alloc() @@ -60,7 +55,7 @@ struct Heroine : public Character return HeroineP(new Heroine); } - void handleEvent(const Mf::Event& event); + bool handleEvent(const Mf::Event& event); };