Advertisement
Guest User

Untitled

a guest
Nov 20th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. package fr.isen;
  2.  
  3. public class Position {
  4. private int x;
  5. private int y;
  6.  
  7. public Position(int x, int y) {
  8. this.x = x;
  9. this.y = y;
  10. }
  11.  
  12. public int getX() {
  13. return x;
  14. }
  15. public int getY() {
  16. return y;
  17. }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement