Removed Layer3D and added Layer

This commit is contained in:
Richard Davey 2020-11-27 12:45:44 +00:00
parent 2bae79fcac
commit a846883e03
2 changed files with 3 additions and 5 deletions

View file

@ -42,17 +42,20 @@ var Phaser = {
GameObject: require('./gameobjects/GameObject'),
Graphics: require('./gameobjects/graphics/Graphics.js'),
Image: require('./gameobjects/image/Image'),
Layer: require('./gameobjects/layer/Layer'),
Sprite: require('./gameobjects/sprite/Sprite'),
Text: require('./gameobjects/text/static/Text'),
Factories: {
Graphics: require('./gameobjects/graphics/GraphicsFactory'),
Image: require('./gameobjects/image/ImageFactory'),
Layer: require('./gameobjects/layer/LayerFactory'),
Sprite: require('./gameobjects/sprite/SpriteFactory'),
Text: require('./gameobjects/text/static/TextFactory')
},
Creators: {
Graphics: require('./gameobjects/graphics/GraphicsCreator'),
Image: require('./gameobjects/image/ImageCreator'),
Layer: require('./gameobjects/layer/LayerCreator'),
Sprite: require('./gameobjects/sprite/SpriteCreator'),
Text: require('./gameobjects/text/static/TextCreator')
}

View file

@ -52,11 +52,6 @@ var Phaser = {
// Merge in the optional plugins and WebGL only features
if (typeof FEATURE_3D)
{
Phaser.Layer3D = require('./layer3d');
}
if (typeof FEATURE_SOUND)
{
Phaser.Sound = require('./sound');