Skip to content

Commit

Permalink
remove useless function
Browse files Browse the repository at this point in the history
  • Loading branch information
davi-bart committed Feb 16, 2024
1 parent 34e3539 commit cf98235
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions src/main/java/it/unibo/controller/main/MainController.java
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,6 @@ public interface MainController {
void tradeWithPlayer(String proposer, String accepter, Map<ResourceType, Integer> proposedResources,
Map<ResourceType, Integer> wantedResources);

/**
* @return the bank name
*/
String getBank();

/**
* Set the robber in the specified position, removing it from the previous
* location.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,6 @@ public boolean canStartTrade() {
return !mustPlaceRobber() && turnController.getCycle() > 2 && turnController.hasRolled();
}

@Override
public String getBank() {
return "bank";
}

@Override
public void setRobberPosition(final TilePosition coordinates) {
this.boardController.setRobberPosition(coordinates);
Expand Down

0 comments on commit cf98235

Please sign in to comment.