Interface AttackStrategy

    • Method Summary

      Modifier and Type Method Description
      boolean attacks​(Argument a, Argument b)
      Returns "true" iff the first argument attacks the second argument.
      java.lang.String toAbbreviation()
      Returns the abbreviated identifier of this notion of attack, i.e.
    • Method Detail

      • attacks

        boolean attacks​(Argument a,
                        Argument b)
        Returns "true" iff the first argument attacks the second argument.
        Parameters:
        a - some argument
        b - some argument
        Returns:
        "true" iff a attacks b.
      • toAbbreviation

        java.lang.String toAbbreviation()
        Returns the abbreviated identifier of this notion of attack, i.e. "a" for attack
        Returns:
        a short identifier