Skip to content

Commit

Permalink
Update Main.java
Browse files Browse the repository at this point in the history
  • Loading branch information
KhushalGupta authored Sep 30, 2018
1 parent 4f133f1 commit 4f946c5
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,6 @@ public class Main {
private JPanel canvas;

public static void main(String[] args) {
// JFrame frame = new JFrame("Main");
// frame.setPreferredSize(new Dimension(800, 600));
// frame.setResizable(false);
// frame.setContentPane(new Main().mainPanel);
// frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
// frame.pack();
// frame.setVisible(true);

Board board = new Board(25, 25);
Droid droid1 = new Droid("Droid_1", 2, 2, 10, 1, 3);
Expand All @@ -36,8 +29,6 @@ public static void main(String[] args) {
droid2.setRoutine(brain2);

for (int i = 0; i < 30; i++) {
System.out.println(droid1.toString());
System.out.println(droid2.toString());
droid1.update();
droid2.update();
}
Expand Down

0 comments on commit 4f946c5

Please sign in to comment.