Mercurial > fife-parpg
view engine/core/util/time/timemanager.i @ 29:0cb049f291e1
make members private and prefix with m_
author | spq@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Fri, 11 Jul 2008 13:00:10 +0000 |
parents | 4a0efb7baf70 |
children | 90005975cdbb |
line wrap: on
line source
%module fife %{ #include "util/time/timemanager.h" %} namespace FIFE { class TimeEvent; class TimeManager { public: TimeManager(); virtual ~TimeManager(); void update(); unsigned long getTime() const; unsigned long getTimeDelta() const; double getAverageFrameTime() const; void printStatistics() const; void registerEvent(TimeEvent* event); void unregisterEvent(TimeEvent* event); }; }