Example #1
0
 @Override
 public void refreshDrop() {
   if (overlay != null) {
     overlay.showModal();
     System.out.println("map overlay");
   }
 }
Example #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");
  }