forked from phaserjs/phaser
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathScaleManager.js
More file actions
28 lines (22 loc) · 942 Bytes
/
Copy pathScaleManager.js
File metadata and controls
28 lines (22 loc) · 942 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2016 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/
/**
* This is a stub for the Phaser ScaleManager.
* It allows you to exclude the default Scale Manager from your build, without making Game crash.
*/
Phaser.ScaleManager = function () {
/**
* The bounds of the scaled game. The x/y will match the offset of the canvas element and the width/height the scaled width and height.
* @property {Phaser.Rectangle} bounds
* @readonly
*/
this.bounds = new Phaser.Rectangle();
};
Phaser.ScaleManager.prototype.boot = function () {};
Phaser.ScaleManager.prototype.preUpdate = function () {};
Phaser.ScaleManager.prototype.pauseUpdate = function () {};
Phaser.ScaleManager.prototype.destroy = function () {};
Phaser.ScaleManager.prototype.constructor = Phaser.ScaleManager;