]> Dogcows Code - chaz/yoink/blobdiff - src/Heroine.hh
minor refactoring and state progress
[chaz/yoink] / src / Heroine.hh
index c5c62ed2218cea36f1505532793d3914a450871d..7169987708817234ac501698bbe4a655920f18ae 100644 (file)
@@ -41,12 +41,13 @@ typedef boost::shared_ptr<Heroine> 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);
 };
 
 
This page took 0.016816 seconds and 4 git commands to generate.