2022-10-24 21:59:27 +04:00
|
|
|
import javax.swing.*;
|
|
|
|
import java.awt.*;
|
|
|
|
import java.awt.event.ComponentEvent;
|
|
|
|
import java.awt.event.ComponentListener;
|
|
|
|
import java.util.Random;
|
2022-10-24 19:25:26 +04:00
|
|
|
|
2022-10-24 21:59:27 +04:00
|
|
|
public class FormBattleship extends JComponent {
|
|
|
|
private DrawningBattleship _battleship;
|
|
|
|
private EntityBattleship _entityBattleship;
|
|
|
|
public static void main(String[] args) {
|
|
|
|
FormBattleship formBattleship = new FormBattleship();
|
|
|
|
}
|
|
|
|
public FormBattleship() {
|
2022-10-24 19:25:26 +04:00
|
|
|
}
|
|
|
|
}
|