Interface IDialogState

  • All Superinterfaces:
    ch.sahits.game.openpatrician.utilities.IEventMetaDataProvider

    public interface IDialogState
    extends ch.sahits.game.openpatrician.utilities.IEventMetaDataProvider
    Dialogs that are not called from a UI state must carry their own state from the time when they were created. Typical examples are dialogs that are displayed due to a message.
    A dialog state may also carry data that is not used for a dialog. In such cases it is a convenient vessel to transport data to display in a dialog if the recipient is a human player or to trigger some action in the background.
    Author:
    Andi Hotz, (c) Sahits GmbH, 2016 Created on Dec 06, 2016
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getDialogBeanName()
      Retrieve the bean name of the dialog.
      • Methods inherited from interface ch.sahits.game.openpatrician.utilities.IEventMetaDataProvider

        getClassName, getMethodName
    • Method Detail

      • getDialogBeanName

        java.lang.String getDialogBeanName()
        Retrieve the bean name of the dialog.
        Returns:
        name of the bean backing the dialog state.