We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 000beb2 commit f2e8a83Copy full SHA for f2e8a83
1 file changed
src/gameobjects/container/ContainerFactory.js
@@ -16,8 +16,8 @@ var GameObjectFactory = require('../GameObjectFactory');
16
* @method Phaser.GameObjects.GameObjectFactory#container
17
* @since 3.4.0
18
*
19
- * @param {number} x - The horizontal position of this Game Object in the world.
20
- * @param {number} y - The vertical position of this Game Object in the world.
+ * @param {number} [x=0] - The horizontal position of this Game Object in the world.
+ * @param {number} [y=0] - The vertical position of this Game Object in the world.
21
* @param {Phaser.GameObjects.GameObject|Phaser.GameObjects.GameObject[]} [children] - An optional array of Game Objects to add to this Container.
22
23
* @return {Phaser.GameObjects.Container} The Game Object that was created.
0 commit comments