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 Type
    Method
    Description
    void
    setViewNames(String[] partyNames, String[] opponentNames)
    Set the characters in the view.
    void
    Call on the BattleMenuInterface to update the displayed information for the given character.
  • Method Details

    • setViewNames

      void setViewNames(String[] partyNames, String[] opponentNames)
      Set the characters in the view.
      Parameters:
      partyNames - the name strings of the party characters.
      opponentNames - the name strings of the opponent characters.
    • updateViewCharacter

      void updateViewCharacter(String targetName)
      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.