GameCore.h 632 B

12345678910111213141516171819202122232425262728293031323334
  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. #include "Control/Camera.h"
  9. // For game display
  10. #include "Graphics/Renderer.h"
  11. // Host stars and planets
  12. #include "Contents/Universe.h"
  13. class GameCore {
  14. public :
  15. GameCore();
  16. virtual ~GameCore();
  17. bool initialize(); // Create attributes, return false if failure occurred
  18. void startQuickGame(); // Start a default game
  19. protected:
  20. Input *m_input;
  21. Renderer *m_rend;
  22. Universe *m_universe;
  23. Camera *m_camera;
  24. };
  25. #endif //TINYSHOOTER_GAMECORE_H