Actually added sub modules this time

#story[778]
This commit is contained in:
Erika Savell
2017-04-20 11:16:19 +12:00
parent 669718d406
commit a584400e24
80 changed files with 9020 additions and 0 deletions
@@ -0,0 +1,40 @@
package seng302;
/**
* Graph Coordinate that is to be displayed on the Canvas
* Created by cbt24 on 15/03/17.
*/
public class GraphCoordinate {
private int x;
private int y;
/**
* Constructor method.
*
* @param x X coordinate.
* @param y Y coordinate.
*/
public GraphCoordinate(int x, int y) {
this.x = x;
this.y = y;
}
/**
* Returns the X coordinate.
*
* @return x axis Coordinate.
*/
public int getX() {
return x;
}
/**
* Returns the Y coordinate.
*
* @return y axis Coordinate.
*/
public int getY() {
return y;
}
}