Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class RSTile {
- private final int x;
- private final int y;
- private final int z;
- /**
- * @param x the x axel of the Tile
- * @param y the y axel of the Tile
- */
- public RSTile(final int x, final int y) {
- this.x = x;
- this.y = y;
- z = 0;
- }
- /**
- * @param x the x axel of the Tile
- * @param y the y axel of the Tile
- * @param z the z axel of the Tile( the floor)
- */
- public RSTile(final int x, final int y, final int z) {
- this.x = x;
- this.y = y;
- this.z = z;
- }
- public int getX() {
- return x;
- }
- public int getY() {
- return y;
- }
- public int getZ() {
- return z;
- }
- }
Add Comment
Please, Sign In to add comment