galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
Loading...
Searching...
No Matches
KeyInput.hpp
Go to the documentation of this file.
1
7
8#ifndef GALAXY_EVENTS_KEYINPUT_HPP_
9#define GALAXY_EVENTS_KEYINPUT_HPP_
10
11#include <string>
12
14
15namespace galaxy
16{
20 struct KeyInput final : public Event
21 {
27 KeyInput(std::string&& text) noexcept;
28
32 std::string m_text;
33 };
34} // namespace galaxy
35
36#endif
Base type of all events.
Definition Event.hpp:17
Application.hpp galaxy.
Unicode text data from a textinput event.
Definition KeyInput.hpp:21
KeyInput(std::string &&text) noexcept
Constructor.
Definition KeyInput.cpp:12
std::string m_text
Text.
Definition KeyInput.hpp:32