Debian Codegraph @

Oodle/src/CPauseEvent.h

raw
1 #ifndef _CPAUSEEVENT_
2 #define _CPAUSEEVENT_
3
4 #include "CTimedEvent.h"
5
6 class CPauseEvent : public CTimedEvent
7 {
8 public:
9 CPauseEvent(int time, bool c = false) : CTimedEvent(time, c) {}
10
11 void doUpdate() { if (updateTime()) { setDone(); } }
12 virtual CPauseEvent* getCopy() { return new CPauseEvent(*this); }
13 };
14
15 #endif