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.toString() now works better with more than 2 states
master
Josh Hofing
12 years ago
parent
fff9117576
commit
783d52b0cb
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/Patch.java
+ 1
- 1
src/Patch.java
View File
@@ -46,7 +46,7 @@ public class Patch {
}
public String toString() {
return _label + " " + ((_state ==
1) ? "1" : "."
);
return _label + " " + ((_state ==
0) ? "." : _state
);
}
public Patch[] get4Neighbors() {
Write
Preview
Loading…
Cancel
Save