withModality

public ConversationFactory withModality(boolean modal)

Sets the modality of all Conversations created by this factory. If getClassById conversation is modal, all messages directed to the player are suppressed for the duration of the conversation.

The default is True.

Return

This object.

Parameters

modal

The modality of all conversations to be created.