18 lines
378 B
JavaScript
18 lines
378 B
JavaScript
import { GPConsts } from './PlatformConfig.js';
|
|
import { JlPlatform } from './JlPlatform.js';
|
|
|
|
class GPPlatform extends JlPlatform {
|
|
constructor() {
|
|
super(GPConsts);
|
|
}
|
|
get states() {
|
|
return this.getStates();
|
|
}
|
|
doRepaint() {
|
|
this.rectGraphic.stateFillColor = GPConsts.noTrainStop;
|
|
super.draw();
|
|
}
|
|
}
|
|
|
|
export { GPPlatform };
|