import { JlGraphic, JlGraphicTemplate, VectorText } from 'jl-graphic'; import { Container, Graphics } from 'pixi.js'; import { CategoryType, IPlatformData, PlatformConstsConfig } from './PlatformConfig'; import { IXiAnPlatformState } from './XiAnPlatform'; import { IBeiJingPlatformState } from './BeiJingPlatform'; declare class RectGraphic extends Container { categoryType: CategoryType; rect: Graphics; stateFillColor?: string; constructor(categoryType: CategoryType); draw(platformConsts: PlatformConstsConfig): void; clear(): void; } declare class DoorGraphic extends Container { categoryType: CategoryType; doorGraphic: Graphics; doorCloseGraphic: Graphics; stateFillColor?: string; constructor(categoryType: CategoryType); draw(platformConsts: PlatformConstsConfig): void; clear(): void; } declare class CodeGraphic extends Container { categoryType: CategoryType; character: VectorText; runLevel: VectorText; runTime: VectorText; stopTime: VectorText; circle: Graphics; constructor(categoryType: CategoryType, platformConsts: PlatformConstsConfig); draw(platformConsts: PlatformConstsConfig): void; clear(): void; } declare class LozengeGraphic extends Container { categoryType: CategoryType; lozenge: Graphics; constructor(categoryType: CategoryType); draw(platformConsts: PlatformConstsConfig): void; clear(): void; } export declare abstract class JlPlatform extends JlGraphic { static Type: string; private categoryType; private platformConsts; rectGraphic: RectGraphic; doorGraphic?: DoorGraphic; lozengeGraphic?: LozengeGraphic; codeGraphic?: CodeGraphic; constructor(categoryType: CategoryType); get datas(): IPlatformData; doRepaint(): void; } export declare class PlatformTemplate extends JlGraphicTemplate { hasdoor?: boolean; direction?: string; categoryType: CategoryType; constructor(dataTemplate: IPlatformData, stateTemplate: IXiAnPlatformState | IBeiJingPlatformState, categoryType: CategoryType); new(): JlPlatform; } export {};