prime/include/Kyoto/CTimeProvider.hpp

21 lines
395 B
C++

#ifndef _CTIMEPROVIDER
#define _CTIMEPROVIDER
#include <types.h>
class CTimeProvider {
static CTimeProvider* gCurrentTimeProvider;
public:
CTimeProvider(const float& time);
~CTimeProvider();
float GetSecondsMod900() const { return x0_currentTime; }
private:
const float& x0_currentTime; // in seconds
bool x4_first;
CTimeProvider* x8_lastProvider;
};
#endif // _CTIMEPROVIDER