X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FHeroine.hh;h=7169987708817234ac501698bbe4a655920f18ae;hp=c5c62ed2218cea36f1505532793d3914a450871d;hb=a31d65a998121df0651c57bfb68782e2a07d2e2f;hpb=23d8f7a5fbd1eca7f46f2342c20ac5e28ae0128a 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); };