Beispiel #1
0
 @Override
 public void refreshDrop() {
   if (overlay != null) {
     overlay.showModal();
     System.out.println("map overlay");
   }
 }
Beispiel #2
0
  @Override
  public void startDrop(PieceType pieceType, CatanColor pieceColor, boolean isCancelAllowed) {

    overlay = new MapOverlay(map);
    overlay.setController(overlayController);
    overlay.startDrop(pieceType, pieceColor, isCancelAllowed);
    overlay.showModal();
    System.out.println("map overlay");
  }