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-11-08 03:52:00 +00:00
|
|
|
Container: require('./container/Container'),
|
2017-03-15 01:07:58 +00:00
|
|
|
DynamicBitmapText: require('./bitmaptext/dynamic/DynamicBitmapText'),
|
2017-11-09 18:18:23 +00:00
|
|
|
DynamicTilemapLayer: require('./tilemap/dynamiclayer/DynamicTilemapLayer'),
|
2017-03-15 01:07:58 +00:00
|
|
|
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-10-17 03:15:53 +00:00
|
|
|
Particles: require('./particles/ParticleEmitterManager'),
|
2017-09-26 16:01:35 +00:00
|
|
|
PathFollower: require('./pathfollower/PathFollower'),
|
2017-09-18 00:58:26 +00:00
|
|
|
Sprite3D: require('./sprite3d/Sprite3D'),
|
2017-09-26 16:01:35 +00:00
|
|
|
Sprite: require('./sprite/Sprite'),
|
2017-11-09 18:18:23 +00:00
|
|
|
StaticTilemapLayer: require('./tilemap/staticlayer/StaticTilemapLayer'),
|
2017-06-26 20:10:09 +00:00
|
|
|
Text: require('./text/static/Text'),
|
2017-11-11 16:38:52 +00:00
|
|
|
Tile: require('./tilemap/Tile'),
|
|
|
|
Tilemap: require('./tilemap/Tilemap'),
|
|
|
|
Tileset: require('./tilemap/Tileset'),
|
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
|
2017-09-14 01:27:29 +00:00
|
|
|
|
|
|
|
Factories: {
|
|
|
|
Blitter: require('./blitter/BlitterFactory'),
|
2017-11-08 03:52:00 +00:00
|
|
|
Container: require('./container/ContainerFactory'),
|
2017-09-14 01:27:29 +00:00
|
|
|
DynamicBitmapText: require('./bitmaptext/dynamic/DynamicBitmapTextFactory'),
|
|
|
|
Graphics: require('./graphics/GraphicsFactory'),
|
|
|
|
Group: require('./group/GroupFactory'),
|
|
|
|
Image: require('./image/ImageFactory'),
|
2017-10-17 03:15:53 +00:00
|
|
|
Particles: require('./particles/ParticleManagerFactory'),
|
2017-09-26 16:01:35 +00:00
|
|
|
PathFollower: require('./pathfollower/PathFollowerFactory'),
|
2017-09-14 01:27:29 +00:00
|
|
|
Sprite: require('./sprite/SpriteFactory'),
|
2017-09-18 00:58:26 +00:00
|
|
|
Sprite3D: require('./sprite3d/Sprite3DFactory'),
|
2017-09-14 01:27:29 +00:00
|
|
|
StaticBitmapText: require('./bitmaptext/static/BitmapTextFactory'),
|
|
|
|
Text: require('./text/static/TextFactory'),
|
2017-11-11 16:38:52 +00:00
|
|
|
Tilemap: require('./tilemap/TilemapFactory'),
|
2017-09-14 01:27:29 +00:00
|
|
|
TileSprite: require('./tilesprite/TileSpriteFactory'),
|
2017-11-17 13:29:33 +00:00
|
|
|
Zone: require('./zone/ZoneFactory')
|
2017-09-14 01:27:29 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
Creators: {
|
|
|
|
Blitter: require('./blitter/BlitterCreator'),
|
2017-11-08 03:52:00 +00:00
|
|
|
Container: require('./container/ContainerCreator'),
|
2017-09-14 01:27:29 +00:00
|
|
|
DynamicBitmapText: require('./bitmaptext/dynamic/DynamicBitmapTextCreator'),
|
|
|
|
Graphics: require('./graphics/GraphicsCreator'),
|
|
|
|
Group: require('./group/GroupCreator'),
|
|
|
|
Image: require('./image/ImageCreator'),
|
2017-11-17 13:29:33 +00:00
|
|
|
Particles: require('./particles/ParticleManagerCreator'),
|
2017-09-14 01:27:29 +00:00
|
|
|
Sprite: require('./sprite/SpriteCreator'),
|
2017-09-18 00:58:26 +00:00
|
|
|
Sprite3D: require('./sprite3d/Sprite3DCreator'),
|
2017-09-14 01:27:29 +00:00
|
|
|
StaticBitmapText: require('./bitmaptext/static/BitmapTextCreator'),
|
|
|
|
Text: require('./text/static/TextCreator'),
|
2017-11-11 16:38:52 +00:00
|
|
|
Tilemap: require('./tilemap/TilemapCreator'),
|
2017-09-14 01:27:29 +00:00
|
|
|
TileSprite: require('./tilesprite/TileSpriteCreator'),
|
2017-11-17 13:29:33 +00:00
|
|
|
Zone: require('./zone/ZoneCreator')
|
2017-09-14 01:27:29 +00:00
|
|
|
}
|
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
|
|
|
|
2017-09-14 01:27:29 +00:00
|
|
|
GameObjects.Factories.EffectLayer = require('./effectlayer/EffectLayerFactory');
|
|
|
|
GameObjects.Factories.LightLayer = require('./lightlayer/LightLayerFactory');
|
|
|
|
GameObjects.Factories.Mesh = require('./mesh/MeshFactory');
|
|
|
|
GameObjects.Factories.Quad = require('./quad/QuadFactory');
|
|
|
|
GameObjects.Factories.RenderPass = require('./renderpass/RenderPassFactory');
|
|
|
|
|
|
|
|
GameObjects.Creators.EffectLayer = require('./effectlayer/EffectLayerCreator');
|
|
|
|
GameObjects.Creators.LightLayer = require('./lightlayer/LightLayerCreator');
|
|
|
|
GameObjects.Creators.Mesh = require('./mesh/MeshCreator');
|
|
|
|
GameObjects.Creators.Quad = require('./quad/QuadCreator');
|
|
|
|
GameObjects.Creators.RenderPass = require('./renderpass/RenderPassCreator');
|
2017-09-13 15:06:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = GameObjects;
|