瀏覽代碼

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

master
Josh Hofing 12 年之前
父節點
當前提交
783d52b0cb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/Patch.java

+ 1
- 1
src/Patch.java 查看文件

@@ -46,7 +46,7 @@ public class Patch {
}

public String toString() {
return _label + " " + ((_state == 1) ? "1" : ".");
return _label + " " + ((_state == 0) ? "." : _state);
}

public Patch[] get4Neighbors() {


Loading…
取消
儲存