GameCore.h 521 B

1234567891011121314151617181920212223242526272829
  1. //
  2. // Created by jovian on 18/07/17.
  3. //
  4. #ifndef TINYSHOOTER_GAMECORE_H
  5. #define TINYSHOOTER_GAMECORE_H
  6. // Read hardware commands
  7. #include "Control/Input.h"
  8. // For game display
  9. #include "Graphics/Renderer.h"
  10. #include "Graphics/MetaField.h"
  11. class GameCore {
  12. public :
  13. GameCore();
  14. virtual ~GameCore();
  15. bool initialize(); // Create attributes, return false if failure occurred
  16. void start(); // Start a default game
  17. protected:
  18. Input *m_input;
  19. Renderer *m_rend;
  20. };
  21. #endif //TINYSHOOTER_GAMECORE_H