Added a toString method to the SimpleLocation class.

This commit is contained in:
Tobias Ottenweller 2013-07-06 17:13:46 +02:00
parent 2d830b2f9f
commit 3739ee6c5a

View File

@ -52,6 +52,14 @@ public class SimpleLocation
this.y--; this.y--;
} }
} }
@Override
public String toString()
{
return super.toString() + " x: " + x + " y: " + y + " z: " + z + " world: " + world;
}
@Override @Override