Pos tostring

This commit is contained in:
Daniel Mills 2021-07-19 05:40:43 -04:00
parent 6580436900
commit b2630cfb49

View File

@ -43,6 +43,11 @@ public class Position2 {
this.z = z; this.z = z;
} }
public String toString()
{
return "[" + x + "," + z + "]";
}
@Override @Override
public int hashCode() { public int hashCode() {
final int prime = 31; final int prime = 31;