mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 07:01:20 +00:00
18 lines
749 B
TypeScript
18 lines
749 B
TypeScript
/// <reference path="Game.d.ts" />
|
|
module Phaser {
|
|
class FXManager {
|
|
constructor(game: Game);
|
|
private _fx;
|
|
private _length;
|
|
private _game;
|
|
public active: bool;
|
|
public visible: bool;
|
|
public add(effect): any;
|
|
public preUpdate(): void;
|
|
public postUpdate(): void;
|
|
public preRender(camera: Camera, cameraX: number, cameraY: number, cameraWidth: number, cameraHeight: number): void;
|
|
public render(camera: Camera, cameraX: number, cameraY: number, cameraWidth: number, cameraHeight: number): void;
|
|
public postRender(camera: Camera, cameraX: number, cameraY: number, cameraWidth: number, cameraHeight: number): void;
|
|
public destroy(): void;
|
|
}
|
|
}
|