Class MoveDetails

java.lang.Object
com.mg105.use_cases.outputds.MoveDetails

public class MoveDetails extends Object
A struct like class that represents the details of a move
  • Constructor Details

    • MoveDetails

      public MoveDetails(@NotNull @NotNull String name, int healthChange, int damageChange, boolean isFriendly)
      Creates a new instance of MoveDetails
      Parameters:
      name - of the move
      healthChange - of the move
      damageChange - of the move
      isFriendly - true iff the move is friendly
  • Method Details

    • getName

      @NotNull public @NotNull String getName()
      returns name of move
      Returns:
      name of move
    • getHealthChange

      public int getHealthChange()
      Returns move change stat of move
      Returns:
      move change stat of move
    • getDamageChange

      public int getDamageChange()
      Returns damage change stat of move
      Returns:
      damage change stat of move
    • isFriendly

      public boolean isFriendly()
      Return isFriendly stat of move
      Returns:
      isFriendly stat of move