Omnibus's picture
Upload 131 files
4ee4376
raw
history blame contribute delete
381 Bytes
import actors from './actors';
export default class trains extends actors {
constructor (options) {
super(options);
this.type = 'train';
this.heading = undefined;
this.cars = 3;
}
spawn (cell) {
this.cell = cell;
this.tile = this.getTile(374);
this.x = this.cell.x;
this.y = this.cell.y;
this.z = this.cell.z;
this.create();
}
}