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

26 lines
741 B
TypeScript
Raw Normal View History

2024-01-04 10:40:55 +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;
}