26 lines
741 B
TypeScript
26 lines
741 B
TypeScript
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;
|
|
}
|