35 return std::make_unique<KeyPressedMessage>(*
this);
sys::Json Stream
Definition AudioObject.h:20
the type of elements in a basic_json container
Definition GameObject.h:32
KeyPressedMessage(const KeyPressedMessage &other)=default
auto operator=(const KeyPressedMessage &other) -> KeyPressedMessage &=default
unsigned int keyPressed
Definition KeyPressedMessage.h:41
KeyPressedMessage(unsigned int keyInputted)
Definition KeyPressedMessage.cpp:17
auto clone() const -> std::unique_ptr< Message > override
Definition KeyPressedMessage.h:33
KeyPressedMessage(KeyPressedMessage &&other) noexcept=default
~KeyPressedMessage() override=default
auto getKeyPressed() const -> unsigned int
Definition KeyPressedMessage.cpp:23
auto operator=(KeyPressedMessage &&other) noexcept -> KeyPressedMessage &=default