Package com.mg105.use_cases.save
Interface PartyDataInterface
- All Known Implementing Classes:
PartyDataAccess
public interface PartyDataInterface
This interface is implemented by a class that has the ability to save party members stats and
retrieve the parties data
-
Method Summary
Modifier and TypeMethodDescriptionvoid
changeCharacterStat
(@NotNull String name, @NotNull String stat, int value) Changes the value of the specified character in the "database"@NotNull BattleCharacterDetails[]
Returns an array of objects that each represent a single party members battle attributes
-
Method Details
-
changeCharacterStat
Changes the value of the specified character in the "database"- Parameters:
name
- name of the character to change the stat ofstat
- the name of the stat to changevalue
- the value to change that stat to
-
getPartyBattleDetails
Returns an array of objects that each represent a single party members battle attributes- Returns:
- an array of objects that each represent a single party members battle attributes
- See Also:
-