Guest User

Untitled

a guest
Jan 23rd, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. public class RSTile {
  2. private final int x;
  3. private final int y;
  4. private final int z;
  5.  
  6. /**
  7. * @param x the x axel of the Tile
  8. * @param y the y axel of the Tile
  9. */
  10. public RSTile(final int x, final int y) {
  11. this.x = x;
  12. this.y = y;
  13. z = 0;
  14. }
  15.  
  16. /**
  17. * @param x the x axel of the Tile
  18. * @param y the y axel of the Tile
  19. * @param z the z axel of the Tile( the floor)
  20. */
  21. public RSTile(final int x, final int y, final int z) {
  22. this.x = x;
  23. this.y = y;
  24. this.z = z;
  25. }
  26.  
  27. public int getX() {
  28. return x;
  29. }
  30.  
  31. public int getY() {
  32. return y;
  33. }
  34.  
  35. public int getZ() {
  36. return z;
  37. }
  38. }
Add Comment
Please, Sign In to add comment