代码调整
This commit is contained in:
parent
8ca16e00bb
commit
4855f92f96
|
@ -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 {};
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue