]> Dogcows Code - chaz/yoink/blobdiff - src/Heroine.hh
library class revamped as manager, goodbye tilemap
[chaz/yoink] / src / Heroine.hh
index c5c62ed2218cea36f1505532793d3914a450871d..ad8cd9ab35c9c2281b3bbdfafc21e5fc867af7bb 100644 (file)
 #include "Character.hh"
 
 
-struct Heroine;
+class Heroine;
 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,8 @@ struct Heroine : public Character
                return HeroineP(new Heroine);
        }
 
-       void handleEvent(const Mf::Event& event);
+       void update(Mf::Scalar t, Mf::Scalar dt);
+       bool handleEvent(const Mf::Event& event);
 };
 
 
This page took 0.019555 seconds and 4 git commands to generate.