Przeglądaj źródła

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

master
Josh Hofing 11 lat temu
rodzic
commit
783d52b0cb
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      src/Patch.java

+ 1
- 1
src/Patch.java Wyświetl plik

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

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

public Patch[] get4Neighbors() {


Ładowanie…
Anuluj
Zapisz