代码调整

This commit is contained in:
dong 2024-01-05 16:46:49 +08:00
parent 8ca16e00bb
commit 4855f92f96
2 changed files with 4 additions and 0 deletions

View File

@ -46,6 +46,7 @@ export declare abstract class JlPlatform extends JlGraphic {
codeGraphic?: CodeGraphic;
constructor(categoryType: CategoryType);
get datas(): IPlatformData;
get code(): string;
doRepaint(): void;
}
export {};

View File

@ -194,6 +194,9 @@ class JlPlatform extends JlGraphic {
get datas() {
return this.getDatas();
}
get code() {
return this.datas.code;
}
doRepaint() {
this.doorGraphic?.clear();
const platformConsts = this.platformConsts;