phaser/v3/src/gameobjects/index.js

86 lines
3.8 KiB
JavaScript
Raw Normal View History

// Phaser.GameObjects
var GameObjects = {
Components: require('./components'),
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'),
DynamicBitmapText: require('./bitmaptext/dynamic/DynamicBitmapText'),
Graphics: require('./graphics/Graphics.js'),
2017-06-26 20:10:09 +00:00
Group: require('./group/Group'),
Image: require('./image/Image'),
ObjectPool: require('./pool/ObjectPool.js'),
2017-10-17 03:15:53 +00:00
Particles: require('./particles/ParticleEmitterManager'),
2017-09-26 16:01:35 +00:00
PathFollower: require('./pathfollower/PathFollower'),
Sprite3D: require('./sprite3d/Sprite3D'),
2017-09-26 16:01:35 +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'),
Zone: require('./zone/Zone'),
// Game Object Factories
Factories: {
Blitter: require('./blitter/BlitterFactory'),
DynamicBitmapText: require('./bitmaptext/dynamic/DynamicBitmapTextFactory'),
DynamicTilemap: require('./tilemap/dynamic/TilemapFactory'),
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'),
Sprite: require('./sprite/SpriteFactory'),
Sprite3D: require('./sprite3d/Sprite3DFactory'),
StaticBitmapText: require('./bitmaptext/static/BitmapTextFactory'),
StaticTilemap: require('./tilemap/static/StaticTilemapFactory'),
Text: require('./text/static/TextFactory'),
TileSprite: require('./tilesprite/TileSpriteFactory'),
Zone: require('./zone/ZoneFactory'),
},
Creators: {
Blitter: require('./blitter/BlitterCreator'),
DynamicBitmapText: require('./bitmaptext/dynamic/DynamicBitmapTextCreator'),
DynamicTilemap: require('./tilemap/dynamic/TilemapCreator'),
Graphics: require('./graphics/GraphicsCreator'),
Group: require('./group/GroupCreator'),
Image: require('./image/ImageCreator'),
2017-10-17 03:15:53 +00:00
ParticleEmitter: require('./particles/ParticleManagerCreator'),
Sprite: require('./sprite/SpriteCreator'),
Sprite3D: require('./sprite3d/Sprite3DCreator'),
StaticBitmapText: require('./bitmaptext/static/BitmapTextCreator'),
StaticTilemap: require('./tilemap/static/StaticTilemapCreator'),
Text: require('./text/static/TextCreator'),
TileSprite: require('./tilesprite/TileSpriteCreator'),
Zone: require('./zone/ZoneCreator'),
}
2017-06-26 20:10:09 +00:00
};
if (WEBGL_RENDERER)
{
// WebGL only Game Objects
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');
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');
}
module.exports = GameObjects;