blob: f6721b7fe1dd6e4612f303361c43012f4e17a05a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#include "Event.h"
class EventManager {
Event** events;
unsigned count;
unsigned maxCount;
void copyFrom(const EventManager& other);
void free();
public:
EventManager(unsigned maxCount);
bool addEvent(const Event* event);
unsigned ongoingEvents(unsigned time);
EventManager();
EventManager(const EventManager& other);
EventManager& operator=(const EventManager& other);
~EventManager();
};
|