EngineRuntimeData.hpp 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  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]] ::std::shared_ptr<ls::atlantis::interfaces::IWindowApi> getWindowApi() const;
  20. void setKeyboard(const ::std::shared_ptr<ls::atlantis::interfaces::IKeyboard> &_keyboard);
  21. void setWindowApi(const ::std::shared_ptr<ls::atlantis::interfaces::IWindowApi> &_windowApi);
  22. private:
  23. ::std::shared_ptr<ls::atlantis::interfaces::IKeyboard> keyboard{};
  24. ::std::shared_ptr<ls::atlantis::interfaces::IWindowApi> windowApi{};
  25. };
  26. }
  27. #endif