選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

31 行
501 B

  1. //
  2. // Deus Hax (working title)
  3. // Copyright (c) 2010 Sam Hocevar <sam@hocevar.net>
  4. //
  5. //
  6. // The Ticker class
  7. // ----------------
  8. // The Ticker is a static class that registers entities and ticks them.
  9. //
  10. #if !defined __DH_TICKER_H__
  11. #define __DH_TICKER_H__
  12. #include <stdint.h>
  13. #include "entity.h"
  14. class Ticker
  15. {
  16. public:
  17. static void Register(Entity *entity);
  18. static void TickGame();
  19. static void TickRender();
  20. static void ClampFps(float delta_time);
  21. };
  22. #endif // __DH_TICKER_H__