Engine.h 412 B

12345678910111213141516171819202122
  1. #ifndef ENGINE_H
  2. #define ENGINE_H
  3. #include "input/Buttons.h"
  4. #include "input/TextInput.h"
  5. #include "utils/Clock.h"
  6. #include "utils/Size.h"
  7. namespace Engine {
  8. bool init();
  9. void run();
  10. void setTextInput(TextInput* input);
  11. bool isActiveTextInput(TextInput* input);
  12. Buttons& getButtons();
  13. const Size& getSize();
  14. const Clock& getFrameClock();
  15. const Clock& getTickClock();
  16. }
  17. #endif