Interface Interaction

All Known Implementing Classes:
Ork

public interface Interaction
Interface for interactions in Ork, Elf, Human classes
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    static String
    Provides a boost to the champion.
    static String
    kill(String opponent)
    Kills the opponent champion.
    static String
    Picks up a kit.
    static String
    Traps the champion.
  • Method Details

    • kill

      static String kill(String opponent)
      Kills the opponent champion.
      Parameters:
      opponent - the opponent champion's name
      Returns:
      a message indicating the champion killed the opponent
    • pickUp

      static String pickUp()
      Picks up a kit.
      Returns:
      a message indicating the champion picked up a kit
    • trap

      static String trap()
      Traps the champion.
      Returns:
      a message indicating the champion fell into a trap
    • boost

      static String boost()
      Provides a boost to the champion.
      Returns:
      a message indicating the champion received a boost