rt-graphic-component/components/Signal/common/Lamp.d.ts
2024-01-02 14:36:14 +08:00

16 lines
452 B
TypeScript

import { Container } from '@pixi/display';
import { Graphics } from 'pixi.js';
export declare class Lamp extends Container {
circleLamp: Graphics;
logicMode: Graphics;
radiusX: number;
radiusY: number;
constructor(hasLogic: boolean);
paint(radiusX: number, radiusY: number): void;
createLampBad(): void;
createLamp(color?: string): void;
createLogicMode(): void;
logicModeClear(): void;
lampClear(): void;
}