/* * author: Patrick-Christopher Mattulat * e-mail: webmaster@lynarstudios.com */ #ifndef LS_ATLANTIS_ENGINE_INPUT_KEY_STATUS_HPP #define LS_ATLANTIS_ENGINE_INPUT_KEY_STATUS_HPP #include #include namespace ls::atlantis::input { class LS_ATLANTIS_DYNAMIC_GOAL KeyStatus { public: KeyStatus(); explicit KeyStatus(const ls::atlantis::glossary::KeyboardKeys &_key, bool _isFreedValue, bool _isPressedValue); ~KeyStatus(); [[nodiscard]] ls::atlantis::glossary::KeyboardKeys getKey() const; [[nodiscard]] bool getIsFreedValue() const; [[nodiscard]] bool getIsPressedValue() const; void setIsFreedValue(bool _isFreedValue); void setIsPressedValue(bool _isPressedValue); void setKey(const ls::atlantis::glossary::KeyboardKeys &_key); private: ls::atlantis::glossary::KeyboardKeys key{}; bool isFreedValue{}; bool isPressedValue{}; }; } #endif