27 lines
587 B
JavaScript
27 lines
587 B
JavaScript
import { GPConsts } from './common/PlatformConfig.js';
|
|
import { JlPlatform } from './common/JlPlatform.js';
|
|
|
|
class GPPlatform extends JlPlatform {
|
|
constructor() {
|
|
super(GPConsts);
|
|
}
|
|
get states() {
|
|
return this.getStates();
|
|
}
|
|
doRepaint() {
|
|
this.rectGraphic.stateFillColor = GPConsts.noTrainStop;
|
|
super.draw();
|
|
}
|
|
buildRelation() {
|
|
super.buildCommonRelation();
|
|
}
|
|
saveRelations() {
|
|
super.saveCommonRelations();
|
|
}
|
|
loadRelations() {
|
|
super.loadCommonRelations();
|
|
}
|
|
}
|
|
|
|
export { GPPlatform };
|