Skip to content

Commit cbb739b

Browse files
committed
Modified test cases
1 parent 518b713 commit cbb739b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

DirectedPix.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
public class DirectedPix extends Pix
99
{
10-
private int direction; // (N E S W)
10+
private static int direction; // (N E S W)
1111

1212
/**
1313
* Constructs a DirectedPix with a random direction

Pixelife.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ public Pixelife(int w, int h, int n)
4141
// Spawner lines = new Spawner(ScaredPix.class, myGrid);
4242
// lines.spawn(10);
4343

44+
// spawner = new Spawner(DirectedPix.class, myGrid);
45+
// spawner.spawn(50);
4446
spawner = new Spawner(QuickPix.class, myGrid);
4547
spawner.spawn(50);
46-
// spawner = new Spawner(AgingPix.class, myGrid);
47-
// spawner.spawn(50);
4848
}
4949

5050
public Dimension getPreferredSize()

0 commit comments

Comments
 (0)