Created
January 2, 2019 03:33
-
-
Save NeusFear/ec40598bb7fc65bf6a95db012aec425a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package neusfear.theforgecore.modules.islands.helpers; | |
public class Coordinate { | |
private int x, z; | |
public Coordinate(int x, int z) { | |
this.x = x; | |
this.z = z; | |
} | |
public int getX(){ | |
return x; | |
} | |
public int getZ(){ | |
return z; | |
} | |
public void setX(int x){ | |
this.x = x; | |
} | |
public void setZ(int z){ | |
this.z = z; | |
} | |
public void set(int x, int z){ | |
this.x = x; | |
this.z = z; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment