LRT14  1.0
 All Classes Namespaces Functions Variables Enumerations Enumerator
DelayedEvent.h
1 #ifndef DELAYED_EVENT_H_
2 #define DELAYED_EVENT_H_
3 
4 #include "Event.h"
5 
9 class DelayedEvent : public Event
10 {
11 public:
12  DelayedEvent(Event* event, int delayCycles);
13  virtual ~DelayedEvent();
14 
15  virtual bool CheckCondition();
16  virtual void Update();
17 
18 private:
19  Event* m_event;
20  int m_delay;
21  int m_count;
22 };
23 
24 #endif