Interface BattleMenuInterface
- All Known Implementing Classes:
BattleMenu
public interface BattleMenuInterface
This interface should be implemented by BattleMenu.
The methods represent calls to update data attributes and the display.
-
Method Summary
Modifier and TypeMethodDescriptionvoidSets the names of the player and opponent characters participating in the active battle.voidupdateCharacter(String character) Updates the display corresponding to the given affected character.
-
Method Details
-
setNames
Sets the names of the player and opponent characters participating in the active battle.- Parameters:
playerNames- array of name Strings representing player characters.opponentNames- array of name Strings representing opponents.
-
updateCharacter
Updates the display corresponding to the given affected character.- Parameters:
character- the character who needs to be updated on the screen.
-