checkEvent

abstract fun checkEvent(choice: Event.ID): Boolean

Check if the next event is one of the given type.

Parameters

choice

Event ID to match.

Throws

in case of malformed input.