Added a toString method to the SimpleLocation class.
This commit is contained in:
parent
2d830b2f9f
commit
3739ee6c5a
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user