Engine.pkg 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. $#include "Engine.h"
  2. class Engine : public Object
  3. {
  4. void RunFrame();
  5. Console* CreateConsole();
  6. DebugHud* CreateDebugHud();
  7. void SetMinFps(int fps);
  8. void SetMaxFps(int fps);
  9. void SetMaxInactiveFps(int fps);
  10. void SetPauseMinimized(bool enable);
  11. void SetAutoExit(bool enable);
  12. void Exit();
  13. void DumpProfiler();
  14. void DumpResources();
  15. void DumpMemory();
  16. int GetMinFps() const;
  17. int GetMaxFps() const;
  18. int GetMaxInactiveFps() const;
  19. bool GetPauseMinimized() const;
  20. bool GetAutoExit() const;
  21. bool IsInitialized() const;
  22. bool IsExiting() const;
  23. bool IsHeadless() const;
  24. tolua_property__get_set int minFps;
  25. tolua_property__get_set int maxFps;
  26. tolua_property__get_set int maxInactiveFps;
  27. tolua_property__get_set bool pauseMinimized;
  28. tolua_property__get_set bool autoExit;
  29. tolua_readonly tolua_property__is_set bool initialized;
  30. tolua_readonly tolua_property__is_set bool exiting;
  31. tolua_readonly tolua_property__is_set bool headless;
  32. };