AL-2020/objects/Agent.js

12 lines
165 B
JavaScript
Raw Normal View History

2020-04-06 15:21:40 +02:00
class Agent {
constructor(x, y){
this.xField = x;
this.yField = y;
}
getid(){
return this.xField + "-" + this.yField;
}
}
export default Agent;