Voxellancer  0.3
A game about voxels in space
 All Classes Functions Pages
eventpoller.h
1 #pragma once
2 
3 #include <list>
4 #include <memory>
5 
6 
7 class EventPoll;
8 
9 class EventPoller {
10 public:
11  EventPoller();
12  ~EventPoller();
13 
14  void addPoll(EventPoll* eventPoll);
15  void removePoll(EventPoll* eventPoll);
16 
17  void update(float deltaSec);
18 
19 
20 protected:
21  std::list<std::unique_ptr<EventPoll>> m_eventPolls;
22 };
23 
Definition: eventpoll.h:11
Definition: eventpoller.h:9