phaser/src/gameobjects/index.js

90 lines
3.8 KiB
JavaScript
Raw Normal View History

// Phaser.GameObjects
var GameObjects = {
DisplayList: require('./DisplayList'),
DisplayListPlugin: require('./DisplayListPlugin'),
UpdateList: require('./UpdateList'),
UpdateListPlugin: require('./UpdateListPlugin'),
GameObjectCreator: require('./GameObjectCreator'),
GameObjectFactory: require('./GameObjectFactory'),
Components: require('./components'),
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'),
2018-01-24 18:55:23 +00:00
DynamicBitmapText: require('./bitmaptext/dynamic/DynamicBitmapText'),
2018-01-24 22:29:57 +00:00
DynamicTilemapLayer: require('./tilemap/dynamiclayer/DynamicTilemapLayer'),
2018-01-24 03:03:43 +00:00
Graphics: require('./graphics/Graphics.js'),
2018-01-22 21:21:47 +00:00
//Group: require('./group/Group'),
2018-01-23 20:32:20 +00:00
Image: require('./image/Image'),
2018-01-22 21:21:47 +00:00
//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'),
2018-01-24 00:40:20 +00:00
Text: require('./text/static/Text'),
2018-01-22 21:21:47 +00:00
//Tile: require('./tilemap/Tile'),
2018-01-24 22:29:57 +00:00
Tilemap: require('./tilemap/Tilemap'),
2018-01-22 21:21:47 +00:00
//Tileset: require('./tilemap/Tileset'),
//TileSprite: require('./tilesprite/TileSprite'),
//Zone: require('./zone/Zone'),
// Game Object Factories
Factories: {
Blitter: require('./blitter/BlitterFactory'),
2018-01-22 21:21:47 +00:00
//Container: require('./container/ContainerFactory'),
2018-01-24 18:55:23 +00:00
DynamicBitmapText: require('./bitmaptext/dynamic/DynamicBitmapTextFactory'),
2018-01-24 03:03:43 +00:00
Graphics: require('./graphics/GraphicsFactory'),
2018-01-22 21:21:47 +00:00
//Group: require('./group/GroupFactory'),
2018-01-23 20:32:20 +00:00
Image: require('./image/ImageFactory'),
2018-01-22 21:21:47 +00:00
//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'),
2018-01-24 00:40:20 +00:00
Text: require('./text/static/TextFactory'),
2018-01-24 22:29:57 +00:00
Tilemap: require('./tilemap/TilemapFactory'),
2018-01-22 21:21:47 +00:00
//TileSprite: require('./tilesprite/TileSpriteFactory'),
//Zone: require('./zone/ZoneFactory')
},
Creators: {
Blitter: require('./blitter/BlitterCreator'),
2018-01-22 21:21:47 +00:00
//Container: require('./container/ContainerCreator'),
2018-01-24 18:55:23 +00:00
DynamicBitmapText: require('./bitmaptext/dynamic/DynamicBitmapTextCreator'),
2018-01-24 03:03:43 +00:00
Graphics: require('./graphics/GraphicsCreator'),
2018-01-22 21:21:47 +00:00
//Group: require('./group/GroupCreator'),
2018-01-23 20:32:20 +00:00
Image: require('./image/ImageCreator'),
2018-01-22 21:21:47 +00:00
//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'),
2018-01-24 00:40:20 +00:00
Text: require('./text/static/TextCreator'),
2018-01-24 22:29:57 +00:00
Tilemap: require('./tilemap/TilemapCreator'),
2018-01-22 21:21:47 +00:00
//TileSprite: require('./tilesprite/TileSpriteCreator'),
//Zone: require('./zone/ZoneCreator')
}
2017-06-26 20:10:09 +00:00
};
if (WEBGL_RENDERER)
{
// 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-24 00:58:37 +00:00
GameObjects.Quad = require('./quad/Quad');
2018-01-22 21:21:47 +00:00
//GameObjects.Factories.LightLayer = require('./lightlayer/LightLayerFactory');
2018-01-23 19:29:47 +00:00
GameObjects.Factories.Mesh = require('./mesh/MeshFactory');
2018-01-24 00:58:37 +00:00
GameObjects.Factories.Quad = require('./quad/QuadFactory');
2018-01-22 21:21:47 +00:00
//GameObjects.Creators.LightLayer = require('./lightlayer/LightLayerCreator');
2018-01-23 19:29:47 +00:00
GameObjects.Creators.Mesh = require('./mesh/MeshCreator');
2018-01-24 00:58:37 +00:00
GameObjects.Creators.Quad = require('./quad/QuadCreator');
}
module.exports = GameObjects;