Parcourir la source

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

master
Josh Hofing il y a 11 ans
Parent
révision
783d52b0cb
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      src/Patch.java

+ 1
- 1
src/Patch.java Voir le fichier

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

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

public Patch[] get4Neighbors() {


Chargement…
Annuler
Enregistrer