]> Dogcows Code - chaz/yoink/blob - src/Heroine.hh
sockets documentation and cleanup
[chaz/yoink] / src / Heroine.hh
1
2 /*] Copyright (c) 2009-2010, Charles McGarvey [**************************
3 **] All rights reserved.
4 *
5 * vi:ts=4 sw=4 tw=75
6 *
7 * Distributable under the terms and conditions of the 2-clause BSD license;
8 * see the file COPYING for a complete text of the license.
9 *
10 **************************************************************************/
11
12 #ifndef _HEROINE_HH_
13 #define _HEROINE_HH_
14
15 #include <boost/shared_ptr.hpp>
16
17 #include <Moof/Event.hh>
18
19 #include "Character.hh"
20
21
22 class Heroine;
23 typedef boost::shared_ptr<Heroine> HeroineP;
24
25
26 /**
27 * The protagonist.
28 */
29
30 class Heroine : public Character
31 {
32 public:
33
34 Heroine();
35
36 static HeroineP alloc()
37 {
38 return HeroineP(new Heroine);
39 }
40
41 void update(Mf::Scalar t, Mf::Scalar dt);
42 bool handleEvent(const Mf::Event& event);
43 };
44
45
46 #endif // _HEROINE_HH_
47
This page took 0.034485 seconds and 4 git commands to generate.