Class BattleErrorEvent

    • Constructor Summary

      Constructors 
      Constructor Description
      BattleErrorEvent​(java.lang.String error)
      Called by the game to create a new BattleErrorEvent.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getError()
      Returns the error message.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BattleErrorEvent

        public BattleErrorEvent​(java.lang.String error)
        Called by the game to create a new BattleErrorEvent. Please don't use this constructor as it might change.
        Parameters:
        error - the error message from the game.
    • Method Detail

      • getError

        public java.lang.String getError()
        Returns the error message.
        Returns:
        the error message that was sent from the game during the battle.