Mercurial > fife-parpg
comparison engine/core/util/time/timemanager.i @ 0:4a0efb7baf70
* Datasets becomes the new trunk and retires after that :-)
author | mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Sun, 29 Jun 2008 18:44:17 +0000 |
parents | |
children | 90005975cdbb |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4a0efb7baf70 |
---|---|
1 %module fife | |
2 %{ | |
3 #include "util/time/timemanager.h" | |
4 %} | |
5 | |
6 namespace FIFE { | |
7 class TimeEvent; | |
8 class TimeManager { | |
9 public: | |
10 TimeManager(); | |
11 virtual ~TimeManager(); | |
12 void update(); | |
13 unsigned long getTime() const; | |
14 unsigned long getTimeDelta() const; | |
15 double getAverageFrameTime() const; | |
16 void printStatistics() const; | |
17 void registerEvent(TimeEvent* event); | |
18 void unregisterEvent(TimeEvent* event); | |
19 }; | |
20 } |