mirror of
https://github.com/wassname/phaser.git
synced 2026-06-29 16:30:29 +08:00
22 lines
584 B
TypeScript
22 lines
584 B
TypeScript
/// <reference path="../Game.d.ts" />
|
|
module Phaser {
|
|
class StageScaleMode {
|
|
constructor(game: Game);
|
|
private _game;
|
|
private _startHeight;
|
|
private _iterations;
|
|
private _check;
|
|
static EXACT_FIT: number;
|
|
static NO_SCALE: number;
|
|
static SHOW_ALL: number;
|
|
public width: number;
|
|
public height: number;
|
|
public orientation;
|
|
public update(): void;
|
|
public isLandscape : bool;
|
|
private checkOrientation(event);
|
|
private refresh();
|
|
private setScreenSize();
|
|
}
|
|
}
|