Updated TS defs for multi-texture support.

This commit is contained in:
Richard Davey 2016-09-20 00:21:24 +01:00
parent 4057412397
commit 6fd15ee0e5
2 changed files with 5 additions and 1 deletions

View file

@ -1,7 +1,7 @@
/// <reference path="pixi.d.ts" />
/// <reference path="p2.d.ts" />
// Type definitions for Phaser 3.0.0 - 7th September 2016
// Type definitions for Phaser 3.0.0
// Project: https://github.com/photonstorm/phaser
declare module "phaser" {
@ -18,6 +18,7 @@ declare class Phaser {
static CANVAS: number;
static WEBGL: number;
static HEADLESS: number;
static WEBGL_MULTI: number;
static BITMAPDATA: number;
static BITMAPTEXT: number;
@ -1402,6 +1403,7 @@ declare module Phaser {
seed?: string;
state?: Phaser.State;
forceSetTimeOut: boolean;
multiTextue: boolean;
}

View file

@ -1300,6 +1300,7 @@ declare module PIXI {
clearBeforeRender: boolean;
width: number;
height: number;
currentBatchedTextures: string[];
view: HTMLCanvasElement;
projection: Point;
offset: Point;
@ -1318,6 +1319,7 @@ declare module PIXI {
updateTexture(texture: Texture): void;
destroy(): void;
mapBlendModes(): void;
setTexturePriority(textureNameCollection: string[]): string[];
}