Legger til enum Action og bytter navn på abstractions pakken

Bytter pakkenavn fra abstractions til element_properties
This commit is contained in:
2020-02-19 11:15:23 +01:00
parent 81553f67d9
commit bec414e676
13 changed files with 28 additions and 14 deletions

View File

@ -1,36 +0,0 @@
package inf112.fiasko.roborally.game;
/**
* This class represent a position on the board
*/
public class Position {
private int xCoordinate;
private int yCoordinate;
/**
* Initializes the position
* @param xCoordinate The x coordinate of the position
* @param yCoordinate The y coordinate of the position
*/
public Position(int xCoordinate, int yCoordinate) {
this.xCoordinate = xCoordinate;
this.yCoordinate = yCoordinate;
}
/**
* Gets the x coordinate of the position
* @return The x coordinate of the position
*/
public int getXCoordinate() {
return xCoordinate;
}
/**
* Gets the y coordinate of the position
* @return The y coordinate of the position
*/
public int getYCoordinate() {
return yCoordinate;
}
}