X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FHeroine.hh;h=ad8cd9ab35c9c2281b3bbdfafc21e5fc867af7bb;hp=2fb40c33a7cce2ba7ab642c190f8aa9b8f448191;hb=e973a129b5b83b628ba3f09e8c95682fc74080cd;hpb=bc2bc12125d6c223d2935557e01926fe21166e38 diff --git a/src/Heroine.hh b/src/Heroine.hh index 2fb40c3..ad8cd9a 100644 --- a/src/Heroine.hh +++ b/src/Heroine.hh @@ -36,17 +36,18 @@ #include "Character.hh" -struct Heroine; +class Heroine; 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,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); };