Package com.mg105.use_cases.battle
Interface BattlePresenterInterface
- All Known Implementing Classes:
BattlePresenter
public interface BattlePresenterInterface
This interface should be implemented by BattlePresenter.
The methods represent calls to update the view.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setViewNames
(String[] partyNames, String[] opponentNames) Set the characters in the view.void
updateViewCharacter
(String targetName) Call on the BattleMenuInterface to update the displayed information for the given character.
-
Method Details
-
setViewNames
Set the characters in the view.- Parameters:
partyNames
- the name strings of the party characters.opponentNames
- the name strings of the opponent characters.
-
updateViewCharacter
Call on the BattleMenuInterface to update the displayed information for the given character.- Parameters:
targetName
- the name String of the character whose information displayed on the view needs to be updated.
-