Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package lt.mchackers.anothercargame.main;
- public class Coordinates {
- private int x;
- private int y;
- public Coordinates(int x, int y)
- {
- this.setX(x);
- this.setY(y);
- }
- public int getY() {
- return y;
- }
- public void setY(int y) {
- this.y = y;
- }
- public int getX() {
- return x;
- }
- public void setX(int x) {
- this.x = x;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement