2024-01-11 13:38:16 +08:00
|
|
|
import { GPConsts } from './common/PlatformConfig.js';
|
|
|
|
import { JlPlatform } from './common/JlPlatform.js';
|
2024-01-10 15:46:15 +08:00
|
|
|
|
|
|
|
class GPPlatform extends JlPlatform {
|
|
|
|
constructor() {
|
|
|
|
super(GPConsts);
|
|
|
|
}
|
|
|
|
get states() {
|
|
|
|
return this.getStates();
|
|
|
|
}
|
|
|
|
doRepaint() {
|
|
|
|
this.rectGraphic.stateFillColor = GPConsts.noTrainStop;
|
|
|
|
super.draw();
|
|
|
|
}
|
2024-01-10 17:25:39 +08:00
|
|
|
buildRelation() {
|
2024-01-11 09:21:44 +08:00
|
|
|
super.buildCommonRelation();
|
2024-01-10 17:25:39 +08:00
|
|
|
}
|
|
|
|
saveRelations() {
|
2024-01-11 09:21:44 +08:00
|
|
|
super.saveCommonRelations();
|
2024-01-10 17:25:39 +08:00
|
|
|
}
|
|
|
|
loadRelations() {
|
2024-01-11 09:21:44 +08:00
|
|
|
super.loadCommonRelations();
|
2024-01-10 17:25:39 +08:00
|
|
|
}
|
2024-01-10 15:46:15 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
export { GPPlatform };
|