EngineRuntimeData.hpp 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * author: Patrick-Christopher Mattulat
  3. * e-mail: webmaster@lynarstudios.com
  4. */
  5. #ifndef LS_ATLANTIS_ENGINE_CYCLE_ENGINE_RUNTIME_DATA_HPP
  6. #define LS_ATLANTIS_ENGINE_CYCLE_ENGINE_RUNTIME_DATA_HPP
  7. #include <Export.hpp>
  8. #include <interface/IKeyboard.hpp>
  9. #include <interface/IWindowApi.hpp>
  10. #include <memory>
  11. namespace ls::atlantis::cycle
  12. {
  13. class LS_ATLANTIS_DYNAMIC_GOAL EngineRuntimeData
  14. {
  15. public:
  16. EngineRuntimeData();
  17. ~EngineRuntimeData();
  18. [[nodiscard]] ::std::shared_ptr<ls::atlantis::interfaces::IKeyboard> getKeyboard() const;
  19. [[nodiscard]] bool getIsUp() const;
  20. [[nodiscard]] ::std::shared_ptr<ls::atlantis::interfaces::IWindowApi> getWindowApi() const;
  21. void setIsUp(bool _isUp);
  22. void setKeyboard(const ::std::shared_ptr<ls::atlantis::interfaces::IKeyboard> &_keyboard);
  23. void setWindowApi(const ::std::shared_ptr<ls::atlantis::interfaces::IWindowApi> &_windowApi);
  24. private:
  25. bool isUp{};
  26. ::std::shared_ptr<ls::atlantis::interfaces::IKeyboard> keyboard{};
  27. ::std::shared_ptr<ls::atlantis::interfaces::IWindowApi> windowApi{};
  28. };
  29. }
  30. #endif