class ManagerController
{
public:
void Init();
void FrameStart();
void FrameEnd();
__forceinline double FrameStartTime()
{
return _FrameStartTime;
}
__forceinline double LastUpdate()
{
return _LastUpdate;
}
__forceinline UINT FrameIndex()
{
return _FrameIndex;
}
__forceinline bool AIEnabled()
{
return _AIEnabled;
}
__forceinline bool ConsoleEnabled()
{
return _ConsoleEnabled;
}
__forceinline bool InsideFrameCapture()
{
return _InsideFrameCapture;
}
__forceinline UINT& TexturesSavedThisFrame()
{
return _TexturesSavedThisFrame;
}
private:
bool _ConsoleEnabled;
bool _AIEnabled;
UINT _FrameIndex; UINT _TexturesSavedThisFrame;
double _FrameStartTime;
double _LastUpdate;
bool _InsideFrameCapture;
double _LastWindowResizeTime;
Vector<Manager *> _ManagerList; };