rt-graphic-component/components/GatedBox/GatedBox.d.ts

26 lines
741 B
TypeScript
Raw Normal View History

2024-01-02 14:36:10 +08:00
import { Graphics } from 'pixi.js';
import { GraphicData, JlGraphic, VectorText } from 'jl-graphic';
export interface IGatedBox extends GraphicData {
get code(): string;
set code(v: string);
get flip(): boolean;
set flip(v: boolean);
get refScreenDoor(): number;
set refScreenDoor(v: number);
get refGatedBoxMapCode(): string;
set refGatedBoxMapCode(v: string);
clone(): IGatedBox;
copyFrom(data: IGatedBox): void;
eq(other: IGatedBox): boolean;
}
export declare class GatedBox extends JlGraphic {
static Type: string;
codeGraph: VectorText;
rectBody: Graphics;
lineBody: Graphics;
textGraph: VectorText;
constructor();
get datas(): IGatedBox;
doRepaint(): void;
}