Browse Source

Update

main
Justin Senn 2 years ago
parent
commit
be64303ad5
  1. 6
      src/main/java/BattleShip/AIGridGUI.java
  2. 6
      src/main/java/BattleShip/BShip.java
  3. BIN
      target/classes/BattleShip/AIGridGUI$DirectionCompare.class
  4. BIN
      target/classes/BattleShip/AIGridGUI$SetShipsListener.class
  5. BIN
      target/classes/BattleShip/AIGridGUI.class
  6. BIN
      target/classes/BattleShip/BShip$IncomingGuessReader.class
  7. BIN
      target/classes/BattleShip/BShip$ShipsPlacedReader.class

6
src/main/java/BattleShip/AIGridGUI.java

@ -1,11 +1,9 @@
package BattleShip;
import javax.swing.*;
import javax.swing.border.Border;
import javax.swing.border.*;
import java.awt.*;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.util.ArrayList;
import java.awt.event.*;
import java.util.*;

6
src/main/java/BattleShip/BShip.java

@ -150,6 +150,7 @@ public class BShip {
}
} else {
textArea.setText(grid2.getText());
}
if(grid1.getClicked()) {
textArea.setText(grid1.getText());
@ -169,7 +170,7 @@ public class BShip {
grid1.setClicked();
}
}
}
}
}
@ -182,8 +183,7 @@ public class BShip {
synchronized (lock) {
try {
lock.wait();
} catch (InterruptedException e) {
}
} catch (InterruptedException e) {}
}
}
grid1.enableCells();

BIN
target/classes/BattleShip/AIGridGUI$DirectionCompare.class

BIN
target/classes/BattleShip/AIGridGUI$SetShipsListener.class

BIN
target/classes/BattleShip/AIGridGUI.class

BIN
target/classes/BattleShip/BShip$IncomingGuessReader.class

BIN
target/classes/BattleShip/BShip$ShipsPlacedReader.class

Loading…
Cancel
Save