diff --git a/src/core/display/Container.js b/src/core/display/Container.js index 3adcdd2..c163a11 100644 --- a/src/core/display/Container.js +++ b/src/core/display/Container.js @@ -523,6 +523,10 @@ * have been set to that value * @param {boolean} [options.children=false] - if set to true, all the children will have their destroy * method called as well. 'options' will be passed on to those calls. + * @param {boolean} [options.texture=false] - Only used for child Sprites if options.children is set to true + * Should it destroy the texture of the child sprite + * @param {boolean} [options.baseTexture=false] - Only used for child Sprites if options.children is set to true + * Should it destroy the base texture of the child sprite */ destroy(options) { diff --git a/src/core/display/Container.js b/src/core/display/Container.js index 3adcdd2..c163a11 100644 --- a/src/core/display/Container.js +++ b/src/core/display/Container.js @@ -523,6 +523,10 @@ * have been set to that value * @param {boolean} [options.children=false] - if set to true, all the children will have their destroy * method called as well. 'options' will be passed on to those calls. + * @param {boolean} [options.texture=false] - Only used for child Sprites if options.children is set to true + * Should it destroy the texture of the child sprite + * @param {boolean} [options.baseTexture=false] - Only used for child Sprites if options.children is set to true + * Should it destroy the base texture of the child sprite */ destroy(options) { diff --git a/src/core/graphics/Graphics.js b/src/core/graphics/Graphics.js index 45f7ab1..95f2af4 100644 --- a/src/core/graphics/Graphics.js +++ b/src/core/graphics/Graphics.js @@ -1121,6 +1121,10 @@ * options have been set to that value * @param {boolean} [options.children=false] - if set to true, all the children will have * their destroy method called as well. 'options' will be passed on to those calls. + * @param {boolean} [options.texture=false] - Only used for child Sprites if options.children is set to true + * Should it destroy the texture of the child sprite + * @param {boolean} [options.baseTexture=false] - Only used for child Sprites if options.children is set to true + * Should it destroy the base texture of the child sprite */ destroy(options) { diff --git a/src/core/display/Container.js b/src/core/display/Container.js index 3adcdd2..c163a11 100644 --- a/src/core/display/Container.js +++ b/src/core/display/Container.js @@ -523,6 +523,10 @@ * have been set to that value * @param {boolean} [options.children=false] - if set to true, all the children will have their destroy * method called as well. 'options' will be passed on to those calls. + * @param {boolean} [options.texture=false] - Only used for child Sprites if options.children is set to true + * Should it destroy the texture of the child sprite + * @param {boolean} [options.baseTexture=false] - Only used for child Sprites if options.children is set to true + * Should it destroy the base texture of the child sprite */ destroy(options) { diff --git a/src/core/graphics/Graphics.js b/src/core/graphics/Graphics.js index 45f7ab1..95f2af4 100644 --- a/src/core/graphics/Graphics.js +++ b/src/core/graphics/Graphics.js @@ -1121,6 +1121,10 @@ * options have been set to that value * @param {boolean} [options.children=false] - if set to true, all the children will have * their destroy method called as well. 'options' will be passed on to those calls. + * @param {boolean} [options.texture=false] - Only used for child Sprites if options.children is set to true + * Should it destroy the texture of the child sprite + * @param {boolean} [options.baseTexture=false] - Only used for child Sprites if options.children is set to true + * Should it destroy the base texture of the child sprite */ destroy(options) { diff --git a/src/particles/ParticleContainer.js b/src/particles/ParticleContainer.js index 42048a8..67796cf 100644 --- a/src/particles/ParticleContainer.js +++ b/src/particles/ParticleContainer.js @@ -328,6 +328,10 @@ * have been set to that value * @param {boolean} [options.children=false] - if set to true, all the children will have their * destroy method called as well. 'options' will be passed on to those calls. + * @param {boolean} [options.texture=false] - Only used for child Sprites if options.children is set to true + * Should it destroy the texture of the child sprite + * @param {boolean} [options.baseTexture=false] - Only used for child Sprites if options.children is set to true + * Should it destroy the base texture of the child sprite */ destroy(options) {