mirror of
https://github.com/photonstorm/phaser
synced 2024-11-26 06:30:38 +00:00
Shorter warning
This commit is contained in:
parent
703f04025b
commit
a6ef9e09dd
1 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ var hasWarned = false;
|
|||
*
|
||||
* @param {number} x - The horizontal position of this Game Object in the world.
|
||||
* @param {number} y - The vertical position of this Game Object in the world.
|
||||
* @param {Phaser.GameObjects.GameObject[]} [children] - An optional array of Game Objects to add to this Container.
|
||||
* @param {Phaser.GameObjects.GameObject|Phaser.GameObjects.GameObject[]} [children] - An optional array of Game Objects to add to this Container.
|
||||
*
|
||||
* @return {Phaser.GameObjects.Container} The Game Object that was created.
|
||||
*/
|
||||
|
@ -28,7 +28,7 @@ GameObjectFactory.register('container', function (x, y, children)
|
|||
{
|
||||
if (!hasWarned)
|
||||
{
|
||||
console.warn('Containers are experimental and should not be used in production');
|
||||
console.warn('Use of a beta feature: Containers');
|
||||
hasWarned = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue