evidently-pixi
Version:
TypeScript powered set of modules to make it easier to make games in Pixi.js.
17 lines (16 loc) • 624 B
TypeScript
import * as PIXI from "pixi.js";
import { GameStageLayer, GameStage } from "./GameStage";
import { Game } from "../Bootstrap/Game";
/**
* This stage will not scale the display tree in any way, and instead will change available space
* of the game as the canvas' area changes.
*/
export declare class ChangeViewportStage implements GameStage {
private readonly _game;
private readonly _layers;
constructor(game: Game);
update(): void;
addChild(child: PIXI.DisplayObject, layer: GameStageLayer): void;
removeChild(child: PIXI.DisplayObject): void;
setWindowDimensions(): void;
}