phaser3-rex-plugins-types
Version:
[](https://www.npmjs.com/package/phaser3-rex-plugins-types) [](https://github.com/prettier/prettier) [![B
14 lines (10 loc) • 534 B
TypeScript
declare module 'phaser3-rex-plugins/plugins/fade-plugin' {
import * as Phaser from 'phaser';
import {FadeConfig} from 'phaser3-rex-plugins/plugins/behaviors/fade/Fade';
import FadeOutDestroy from 'phaser3-rex-plugins/plugins/fade-out-destroy';
export default class FadePlugin extends Phaser.Plugins.BasePlugin {
constructor(pluginManager: Phaser.Plugins.PluginManager);
add(gameObject: Phaser.GameObjects.GameObject, config: FadeConfig): void;
fadeOutDestroy: typeof FadeOutDestroy;
}
}