2
0
forked from s444420/AL-2020
AL-2020/objects/Field.js
2020-04-05 17:07:25 +02:00

14 lines
269 B
JavaScript

class Field {
constructor(x, y, isEmpty) {
this.xField = x;
this.yField = y;
this.isFieldEmpty = isEmpty;
}
getCoordinates(){
return this.xField + this.yField;
}
getStatus(){
return this.isFieldEmpty;
}
}