mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 05:33:35 +00:00
Updated TS defs for multi-texture support.
This commit is contained in:
parent
4057412397
commit
6fd15ee0e5
2 changed files with 5 additions and 1 deletions
4
typescript/phaser.d.ts
vendored
4
typescript/phaser.d.ts
vendored
|
@ -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;
|
||||
|
||||
}
|
||||
|
||||
|
|
2
typescript/pixi.d.ts
vendored
2
typescript/pixi.d.ts
vendored
|
@ -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[];
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue