Interface Battle

    • Method Detail

      • messages

        java.util.List<Message> messages()
        Get the messages of this battle.
        Returns:
        a reference to the list of messages stored for this battle. This value is never null.
      • setBattleSpec

        void setBattleSpec​(boolean bool)
        Sets whether the CR representation of this battle is a standard BATTLE block or a BATTLESPEC block.
        Parameters:
        bool - set true to mark it as BATTLESPEC block, false to mark as standard BATTLE block.
      • isBattleSpec

        boolean isBattleSpec()
        Check if the Battle object is a BATTLESPEC or BATTLE block.
        Returns:
        true if the CR representation of this battle is a BATTLESPEC block, false if it's a standard BATTLE block.