2017-02-23 03:54:54 +00:00
|
|
|
// Phaser.GameObjects
|
|
|
|
|
2017-09-13 15:06:05 +00:00
|
|
|
var GameObjects = {
|
2017-02-23 03:54:54 +00:00
|
|
|
|
2017-07-04 00:59:31 +00:00
|
|
|
Components: require('./components'),
|
2017-02-23 03:54:54 +00:00
|
|
|
|
2017-03-08 22:36:53 +00:00
|
|
|
BitmapText: require('./bitmaptext/static/BitmapText'),
|
2017-02-28 01:12:13 +00:00
|
|
|
Blitter: require('./blitter/Blitter'),
|
2017-03-15 01:07:58 +00:00
|
|
|
DynamicBitmapText: require('./bitmaptext/dynamic/DynamicBitmapText'),
|
|
|
|
Graphics: require('./graphics/Graphics.js'),
|
2017-06-26 20:10:09 +00:00
|
|
|
Group: require('./group/Group'),
|
2017-02-23 03:54:54 +00:00
|
|
|
Image: require('./image/Image'),
|
2017-07-05 16:17:50 +00:00
|
|
|
ObjectPool: require('./pool/ObjectPool.js'),
|
2017-06-26 20:10:09 +00:00
|
|
|
Sprite: require('./sprite/Sprite'),
|
2017-06-09 04:00:12 +00:00
|
|
|
StaticTilemap: require('./tilemap/static/StaticTilemap'),
|
2017-06-26 20:10:09 +00:00
|
|
|
Text: require('./text/static/Text'),
|
2017-06-09 04:00:12 +00:00
|
|
|
Tilemap: require('./tilemap/dynamic/Tilemap'),
|
2017-06-26 20:10:09 +00:00
|
|
|
TileSprite: require('./tilesprite/TileSprite'),
|
2017-09-14 00:53:47 +00:00
|
|
|
Zone: require('./zone/Zone'),
|
|
|
|
|
|
|
|
// Game Object Factories
|
|
|
|
BlitterFactory: require('./blitter/BlitterFactory'),
|
|
|
|
DynamicBitmapTextFactory: require('./bitmaptext/dynamic/DynamicBitmapTextFactory'),
|
|
|
|
DynamicTilemapFactory: require('./tilemap/dynamic/TilemapFactory'),
|
|
|
|
GraphicsFactory: require('./graphics/GraphicsFactory'),
|
|
|
|
GroupFactory: require('./group/GroupFactory'),
|
|
|
|
ImageFactory: require('./image/ImageFactory'),
|
|
|
|
SpriteFactory: require('./sprite/SpriteFactory'),
|
|
|
|
StaticBitmapTextFactory: require('./bitmaptext/static/BitmapTextFactory'),
|
|
|
|
StaticTilemapFactory: require('./tilemap/static/StaticTilemapFactory'),
|
|
|
|
TextFactory: require('./text/static/TextFactory'),
|
|
|
|
TileSpriteFactory: require('./tilesprite/TileSpriteFactory'),
|
|
|
|
ZoneFactory: require('./zone/ZoneFactory'),
|
2017-06-26 20:10:09 +00:00
|
|
|
|
2017-02-23 03:54:54 +00:00
|
|
|
};
|
2017-09-13 15:06:05 +00:00
|
|
|
|
|
|
|
if (WEBGL_RENDERER)
|
|
|
|
{
|
2017-09-14 00:53:47 +00:00
|
|
|
// WebGL only Game Objects
|
2017-09-13 15:06:05 +00:00
|
|
|
GameObjects.EffectLayer = require('./effectlayer/EffectLayer');
|
|
|
|
GameObjects.LightLayer = require('./lightlayer/LightLayer');
|
|
|
|
GameObjects.Mesh = require('./mesh/Mesh');
|
|
|
|
GameObjects.Quad = require('./quad/Quad');
|
|
|
|
GameObjects.RenderPass = require('./renderpass/RenderPass.js');
|
2017-09-14 00:53:47 +00:00
|
|
|
|
|
|
|
GameObjects.EffectLayerFactory = require('./effectlayer/EffectLayerFactory');
|
|
|
|
GameObjects.LightLayerFactory = require('./lightlayer/LightLayerFactory');
|
|
|
|
GameObjects.MeshFactory = require('./mesh/MeshFactory');
|
|
|
|
GameObjects.QuadFactory = require('./quad/QuadFactory');
|
|
|
|
GameObjects.RenderPassFactory = require('./renderpass/RenderPassFactory');
|
2017-09-13 15:06:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = GameObjects;
|