Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Location {
- private int x;
- private int y;
- private int z;
- public Location(int x, int y, int z) {
- this.x = x;
- this.y = y;
- this.z = z;
- }
- public int getX() {
- return this.x;
- }
- public int getY() {
- return this.y;
- }
- public int getZ() {
- return this.z;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement