SpiecsEngine
 
Loading...
Searching...
No Matches

◆ ToString()

virtual std::string Spices::KeyTypedEvent::ToString ( ) const
inlineoverridevirtual

Serialize this Event Class to string.

Returns
Returns Serialized string.

Reimplemented from Spices::Event.

Definition at line 168 of file KeyEvent.h.

169 {
170 std::stringstream ss;
171 ss << "KeyTypedEvent: " << m_KeyCode;
172
173 return ss.str();
174 }
int m_KeyCode
Input KeyCode.
Definition KeyEvent.h:50

References Spices::KeyEvent::m_KeyCode.