25 lines
684 B
TypeScript
25 lines
684 B
TypeScript
|
import { Graphics } from 'pixi.js';
|
||
|
import { GraphicData, GraphicState, JlGraphic, VectorText } from 'jl-graphic';
|
||
|
export interface IEsbButtonData extends GraphicData {
|
||
|
get code(): string;
|
||
|
set code(v: string);
|
||
|
get flip(): boolean;
|
||
|
set flip(v: boolean);
|
||
|
}
|
||
|
export interface IEsbButtonState extends GraphicState {
|
||
|
id: number;
|
||
|
get down(): boolean;
|
||
|
set down(v: boolean);
|
||
|
}
|
||
|
export declare class EsbButton extends JlGraphic {
|
||
|
static Type: string;
|
||
|
codeGraph: VectorText;
|
||
|
circleBody: Graphics;
|
||
|
rectBody: Graphics;
|
||
|
lineBody: Graphics;
|
||
|
constructor();
|
||
|
get datas(): IEsbButtonData;
|
||
|
get state(): IEsbButtonState;
|
||
|
doRepaint(): void;
|
||
|
}
|