This website works better with JavaScript.
Home
Help
Sign In
ben
/
goldfish
mirror of
https://github.com/earwig/goldfish
Watch
1
Star
1
Fork
0
Code
Releases
0
Activity
Browse Source
Patch.clone() takes a Grid.
master
Ben Kurtovic
12 years ago
parent
8e46e50d33
commit
fcdb30a1f7
1 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
src/Patch.java
+ 2
- 2
src/Patch.java
View File
@@ -71,7 +71,7 @@ public class Patch {
return neighbors;
}
public Patch clone() {
return new Patch(
_
grid, _xcor, _ycor, _state, _label);
public Patch clone(
Grid grid
) {
return new Patch(grid, _xcor, _ycor, _state, _label);
}
}
Write
Preview
Loading…
Cancel
Save