26 lines
762 B
TypeScript
26 lines
762 B
TypeScript
|
import { Graphics, Container } from 'pixi.js';
|
||
|
import { GraphicAnimation } from 'jl-graphic';
|
||
|
import { Lamp } from '../common/Lamp';
|
||
|
import { Model } from './Signal';
|
||
|
export declare class LampMainBody extends Container {
|
||
|
static Type: string;
|
||
|
lampNum: number;
|
||
|
lampPost: Graphics;
|
||
|
lamps: Lamp[];
|
||
|
mirror: boolean;
|
||
|
deltaTime: number;
|
||
|
constructor();
|
||
|
paint(mt: Model, mirror: boolean): void;
|
||
|
setStateBlueShow(): void;
|
||
|
setStateLampBad(): void;
|
||
|
setStateLogic(): void;
|
||
|
setStateH(): void;
|
||
|
setStateL(): void;
|
||
|
setStateU(): void;
|
||
|
setStateHu(): void;
|
||
|
setStateA(): void;
|
||
|
setStateB(): void;
|
||
|
setStateOff(): void;
|
||
|
createFlashAnmiation(name: string, color: string, lampIndex: number): GraphicAnimation;
|
||
|
}
|