X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2FHeroine.hh;h=7169987708817234ac501698bbe4a655920f18ae;hb=bffc879fc8ee8167bb123310d39fad4e2f426ffd;hp=c5c62ed2218cea36f1505532793d3914a450871d;hpb=23d8f7a5fbd1eca7f46f2342c20ac5e28ae0128a;p=chaz%2Fyoink diff --git a/src/Heroine.hh b/src/Heroine.hh index c5c62ed..7169987 100644 --- a/src/Heroine.hh +++ b/src/Heroine.hh @@ -41,12 +41,13 @@ 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() @@ -54,7 +55,7 @@ struct Heroine : public Character return HeroineP(new Heroine); } - void handleEvent(const Mf::Event& event); + bool handleEvent(const Mf::Event& event); };