File size: 738 Bytes
670a607
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// import * as Phaser from 'phaser';
import GrayScalePostFxPipeline from './grayscalepipeline';

export default GrayScalePipelinePlugin;

declare namespace GrayScalePipelinePlugin {

    interface IConfig extends GrayScalePostFxPipeline.IConfig {
        name?: string,
    }

}

declare class GrayScalePipelinePlugin extends Phaser.Plugins.BasePlugin {
    add(
        gameObject: Phaser.GameObjects.GameObject,
        config?: GrayScalePipelinePlugin.IConfig
    ): GrayScalePostFxPipeline;

    remove(
        gameObject: Phaser.GameObjects.GameObject,
        name?: string
    ): this;

    get(
        gameObject: Phaser.GameObjects.GameObject,
        name?: string
    ): GrayScalePostFxPipeline | GrayScalePostFxPipeline[];
}