AL-2020/objects/Agent.js
2020-04-06 15:21:40 +02:00

12 lines
165 B
JavaScript

class Agent {
constructor(x, y){
this.xField = x;
this.yField = y;
}
getid(){
return this.xField + "-" + this.yField;
}
}
export default Agent;