Skip to content

Commit 52ff188

Browse files
committed
changed canvas height
1 parent 4fab3ed commit 52ff188

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/Ant.java

-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ public class Ant {
1919
private Tile[][] tiles;
2020
private Image antImage;
2121
private LinkedList<Tile> path;
22-
private Graphics g;
2322

2423
private AStarSearch aStarSearch;
2524
private LinkedList<LinkedList<Tile>> allPath2D = new LinkedList<LinkedList<Tile>>();

src/App.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public class App {
1010
public static void main(String[] args) throws Exception {
1111

1212
JFrame frame = new JFrame("Ant Path Finding with A* Algorithm");
13-
frame.setSize(1400, 900);
13+
frame.setSize(1400, 800);
1414

1515
Game game = new Game(frame);
1616

0 commit comments

Comments
 (0)