Browse Source

Patch.toString() now works better with more than 2 states

master
Josh Hofing 12 years ago
parent
commit
783d52b0cb
1 changed files with 1 additions and 1 deletions
  1. +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() {


Loading…
Cancel
Save