Dragonfly 4.20
A text-based game engine
Splash.h
1///
2/// Text for splash screen
3///
4
5#ifndef __SPLASH_H__
6#define __SPLASH_H__
7
8#include "EventStep.h"
9#include "Object.h"
10#include "Sprite.h"
11
12namespace df {
13
14class Splash : public Object {
15
16 private:
17 int m_countdown; /// Countdown to event actions.
18 Sprite *m_p_local_sprite; /// Temporary Sprite for Object.
19
20 public:
22 ~Splash();
23 int eventHandler(const Event *p_e) override;
24};
25
26} // end of namespace df
27#endif // __SPLASH_H__
Definition: Event.h:15
Definition: Object.h:57
Definition: Splash.h:14
Sprite * m_p_local_sprite
Countdown to event actions.
Definition: Splash.h:18
int eventHandler(const Event *p_e) override
Handle event (default only handles pathfinding).
Splash()
Temporary Sprite for Object.
Definition: Sprite.h:17
An animation for a sprite.
Definition: Animation.h:15