Dragonfly  4.3
A text-based game engine
SplashDragonfly.h
1 ///
2 /// Dragonfly for splash screen
3 ///
4 
5 #ifndef __SPLASH_DRAGONFLY_H__
6 #define __SPLASH_DRAGONFLY_H__
7 
8 #include "EventStep.h"
9 #include "Object.h"
10 
11 namespace df {
12 
13 class SplashDragonfly : public Object {
14 
15  private:
16  Vector m_end_position; /// Ending position of Object.
17  int m_countdown; /// Countdown to event actions.
18 
19  public:
21  ~SplashDragonfly();
22  int eventHandler(const Event *p_e);
23 };
24 
25 } // end of namespace df
26 #endif // __SPLASH_DRAGONFLY_H__
int m_countdown
Ending position of Object.
Definition: SplashDragonfly.h:17
Definition: SplashDragonfly.h:13
Definition: Event.h:15
A 2-d bounding box.
Definition: Box.h:10
SplashDragonfly(Vector p)
Countdown to event actions.
Definition: Object.h:59
int eventHandler(const Event *p_e)
Handle event (default only handles pathfinding).
Definition: Vector.h:10