File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -55,6 +55,15 @@ var GameObject = new Class({
5555 */
5656 this . type = type ;
5757
58+ /**
59+ * The parent Container of this Game Object, if it has one.
60+ *
61+ * @name Phaser.GameObjects.GameObject#parentContainer
62+ * @type {Phaser.GameObjects.Container }
63+ * @since 3.4.0
64+ */
65+ this . parentContainer = null ;
66+
5867 /**
5968 * The name of this Game Object.
6069 * Empty by default and never populated by Phaser, this is left for developers to use.
Original file line number Diff line number Diff line change @@ -76,15 +76,6 @@ var Container = new Class({
7676 */
7777 this . position = 0 ;
7878
79- /**
80- * The parent Container of this Container, if there is one.
81- *
82- * @name Phaser.GameObjects.Container#parentContainer
83- * @type {Phaser.GameObjects.Container }
84- * @since 3.4.0
85- */
86- this . parentContainer = null ;
87-
8879 /**
8980 * [description]
9081 *
You can’t perform that action at this time.
0 commit comments