Tobias og Gabriel lagde en Wall klass og testet den

This commit is contained in:
Petter Tobias Madsen
2020-02-20 10:50:57 +01:00
parent b3d5474d3d
commit fd48cf5f7a
2 changed files with 54 additions and 0 deletions

View File

@ -0,0 +1,23 @@
package inf112.fiasko.roborally.element_properties;
public class Wall {
private WallType wall;
private Direction direction;
public Wall (WallType wall,Direction direction){
this.wall = wall;
this.direction = direction;
}
public WallType getWallType() {
return wall;
}
public Direction getDirection(){
return direction;
}
}