Package com.mg105.use_cases.outputds
Class MoveDetails
java.lang.Object
com.mg105.use_cases.outputds.MoveDetails
A struct like class that represents the details of a move
-
Constructor Summary
ConstructorDescriptionMoveDetails
(@NotNull String name, int healthChange, int damageChange, boolean isFriendly) Creates a new instance of MoveDetails -
Method Summary
-
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 movehealthChange
- of the movedamageChange
- of the moveisFriendly
- true iff the move is friendly
-
-
Method Details
-
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
-