phaser/src/Phaser.js

59 lines
973 B
JavaScript
Raw Normal View History

2013-10-01 12:54:29 +00:00
/**
* @author Richard Davey <rich@photonstorm.com>
2014-02-05 05:54:25 +00:00
* @copyright 2014 Photon Storm Ltd.
2013-10-01 12:54:29 +00:00
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/
/**
* @namespace Phaser
*/
2013-10-23 12:15:56 +00:00
var Phaser = Phaser || {
2013-10-23 12:15:56 +00:00
VERSION: '<%= version %>',
DEV_VERSION: '1.2',
2013-10-23 12:15:56 +00:00
GAMES: [],
AUTO: 0,
CANVAS: 1,
WEBGL: 2,
HEADLESS: 3,
SPRITE: 0,
BUTTON: 1,
IMAGE: 2,
GRAPHICS: 3,
TEXT: 4,
TILESPRITE: 5,
BITMAPTEXT: 6,
GROUP: 7,
RENDERTEXTURE: 8,
TILEMAP: 9,
TILEMAPLAYER: 10,
2013-09-23 21:23:17 +00:00
EMITTER: 11,
POLYGON: 12,
2013-11-13 20:57:09 +00:00
BITMAPDATA: 13,
CANVAS_FILTER: 14,
WEBGL_FILTER: 15,
ELLIPSE: 16,
SPRITEBATCH: 16,
2013-09-23 21:23:17 +00:00
NONE: 0,
LEFT: 1,
RIGHT: 2,
UP: 3,
DOWN: 4,
2014-02-10 16:01:30 +00:00
DYNAMIC: 1,
STATIC: 2,
KINEMATIC: 4,
CANVAS_PX_ROUND: false,
CANVAS_CLEAR_RECT: true
};
PIXI.InteractionManager = function (dummy) {
// We don't need this in Pixi, so we've removed it to save space
// however the Stage object expects a reference to it, so here is a dummy entry.
2013-10-23 12:15:56 +00:00
};