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