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
|
|
|
|
2018-01-16 22:28:29 +00:00
|
|
|
DisplayList: require('./DisplayList'),
|
2018-01-20 16:21:12 +00:00
|
|
|
DisplayListPlugin: require('./DisplayListPlugin'),
|
2018-01-16 22:28:29 +00:00
|
|
|
UpdateList: require('./UpdateList'),
|
2018-01-20 16:21:12 +00:00
|
|
|
UpdateListPlugin: require('./UpdateListPlugin'),
|
2018-01-16 22:28:29 +00:00
|
|
|
GameObjectCreator: require('./GameObjectCreator'),
|
|
|
|
GameObjectFactory: require('./GameObjectFactory'),
|
|
|
|
|
2017-07-04 00:59:31 +00:00
|
|
|
Components: require('./components'),
|
2017-02-23 03:54:54 +00:00
|
|
|
|
2018-01-22 21:21:47 +00:00
|
|
|
//BitmapText: require('./bitmaptext/static/BitmapText'),
|
2017-02-28 01:12:13 +00:00
|
|
|
Blitter: require('./blitter/Blitter'),
|
2018-01-22 21:21:47 +00:00
|
|
|
//Container: require('./container/Container'),
|
|
|
|
//DynamicBitmapText: require('./bitmaptext/dynamic/DynamicBitmapText'),
|
|
|
|
//DynamicTilemapLayer: require('./tilemap/dynamiclayer/DynamicTilemapLayer'),
|
|
|
|
//Graphics: require('./graphics/Graphics.js'),
|
|
|
|
//Group: require('./group/Group'),
|
|
|
|
//Image: require('./image/Image'),
|
|
|
|
//Particles: require('./particles/ParticleEmitterManager'),
|
|
|
|
//PathFollower: require('./pathfollower/PathFollower'),
|
|
|
|
//Sprite3D: require('./sprite3d/Sprite3D'),
|
2018-01-23 19:29:47 +00:00
|
|
|
Sprite: require('./sprite/Sprite'),
|
2018-01-22 21:21:47 +00:00
|
|
|
//StaticTilemapLayer: require('./tilemap/staticlayer/StaticTilemapLayer'),
|
|
|
|
//Text: require('./text/static/Text'),
|
|
|
|
//Tile: require('./tilemap/Tile'),
|
|
|
|
//Tilemap: require('./tilemap/Tilemap'),
|
|
|
|
//Tileset: require('./tilemap/Tileset'),
|
|
|
|
//TileSprite: require('./tilesprite/TileSprite'),
|
|
|
|
//Zone: require('./zone/Zone'),
|
2017-09-14 00:53:47 +00:00
|
|
|
|
|
|
|
// Game Object Factories
|
2017-09-14 01:27:29 +00:00
|
|
|
|
|
|
|
Factories: {
|
|
|
|
Blitter: require('./blitter/BlitterFactory'),
|
2018-01-22 21:21:47 +00:00
|
|
|
//Container: require('./container/ContainerFactory'),
|
|
|
|
//DynamicBitmapText: require('./bitmaptext/dynamic/DynamicBitmapTextFactory'),
|
|
|
|
//Graphics: require('./graphics/GraphicsFactory'),
|
|
|
|
//Group: require('./group/GroupFactory'),
|
|
|
|
//Image: require('./image/ImageFactory'),
|
|
|
|
//Particles: require('./particles/ParticleManagerFactory'),
|
|
|
|
//PathFollower: require('./pathfollower/PathFollowerFactory'),
|
2018-01-23 19:29:47 +00:00
|
|
|
Sprite: require('./sprite/SpriteFactory'),
|
2018-01-22 21:21:47 +00:00
|
|
|
//Sprite3D: require('./sprite3d/Sprite3DFactory'),
|
|
|
|
//StaticBitmapText: require('./bitmaptext/static/BitmapTextFactory'),
|
|
|
|
//Text: require('./text/static/TextFactory'),
|
|
|
|
//Tilemap: require('./tilemap/TilemapFactory'),
|
|
|
|
//TileSprite: require('./tilesprite/TileSpriteFactory'),
|
|
|
|
//Zone: require('./zone/ZoneFactory')
|
2017-09-14 01:27:29 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
Creators: {
|
|
|
|
Blitter: require('./blitter/BlitterCreator'),
|
2018-01-22 21:21:47 +00:00
|
|
|
//Container: require('./container/ContainerCreator'),
|
|
|
|
//DynamicBitmapText: require('./bitmaptext/dynamic/DynamicBitmapTextCreator'),
|
|
|
|
//Graphics: require('./graphics/GraphicsCreator'),
|
|
|
|
//Group: require('./group/GroupCreator'),
|
|
|
|
//Image: require('./image/ImageCreator'),
|
|
|
|
//Particles: require('./particles/ParticleManagerCreator'),
|
2018-01-23 19:29:47 +00:00
|
|
|
Sprite: require('./sprite/SpriteCreator'),
|
2018-01-22 21:21:47 +00:00
|
|
|
//Sprite3D: require('./sprite3d/Sprite3DCreator'),
|
|
|
|
//StaticBitmapText: require('./bitmaptext/static/BitmapTextCreator'),
|
|
|
|
//Text: require('./text/static/TextCreator'),
|
|
|
|
//Tilemap: require('./tilemap/TilemapCreator'),
|
|
|
|
//TileSprite: require('./tilesprite/TileSpriteCreator'),
|
|
|
|
//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
|
2018-01-22 21:21:47 +00:00
|
|
|
//GameObjects.LightLayer = require('./lightlayer/LightLayer');
|
2018-01-23 19:29:47 +00:00
|
|
|
GameObjects.Mesh = require('./mesh/Mesh');
|
2018-01-22 21:21:47 +00:00
|
|
|
//GameObjects.Quad = require('./quad/Quad');
|
2017-09-14 00:53:47 +00:00
|
|
|
|
2018-01-22 21:21:47 +00:00
|
|
|
//GameObjects.Factories.EffectLayer = require('./effectlayer/EffectLayerFactory');
|
|
|
|
//GameObjects.Factories.LightLayer = require('./lightlayer/LightLayerFactory');
|
2018-01-23 19:29:47 +00:00
|
|
|
GameObjects.Factories.Mesh = require('./mesh/MeshFactory');
|
2018-01-22 21:21:47 +00:00
|
|
|
//GameObjects.Factories.Quad = require('./quad/QuadFactory');
|
2017-09-14 01:27:29 +00:00
|
|
|
|
2018-01-22 21:21:47 +00:00
|
|
|
//GameObjects.Creators.EffectLayer = require('./effectlayer/EffectLayerCreator');
|
|
|
|
//GameObjects.Creators.LightLayer = require('./lightlayer/LightLayerCreator');
|
2018-01-23 19:29:47 +00:00
|
|
|
GameObjects.Creators.Mesh = require('./mesh/MeshCreator');
|
2018-01-22 21:21:47 +00:00
|
|
|
//GameObjects.Creators.Quad = require('./quad/QuadCreator');
|
2017-09-13 15:06:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = GameObjects;
|