Event triggered when the game ends.
GameEndedEvent(const std::string &reason="")
Construct a GameEndedEvent.
~GameEndedEvent() override=default
const std::string & getReason() const
Get the reason for game ending.
Base class for all game-related events.