sp24-proj3-g121 / proj3 / src / core / Coordinates.java
Coordinates.java
Raw
package core;

public class Coordinates {
    private int xPos;
    private int yPos;
    public Coordinates(int xPos, int yPos) {
        this.xPos = xPos;
        this.yPos = yPos;
    }

    public int getxPos() {
        return xPos;
    }
    public int getyPos() {
        return yPos;
    }
}