rt-graphic-component/components/Signal/common/Lamp.d.ts

16 lines
452 B
TypeScript
Raw Normal View History

2024-01-02 14:36:10 +08:00
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;
}