mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 13:43:26 +00:00
Added parentContainer
property
This commit is contained in:
parent
e31cae93d2
commit
183896f8ff
2 changed files with 9 additions and 9 deletions
|
@ -55,6 +55,15 @@ var GameObject = new Class({
|
|||
*/
|
||||
this.type = type;
|
||||
|
||||
/**
|
||||
* The parent Container of this Game Object, if it has one.
|
||||
*
|
||||
* @name Phaser.GameObjects.GameObject#parentContainer
|
||||
* @type {Phaser.GameObjects.Container}
|
||||
* @since 3.4.0
|
||||
*/
|
||||
this.parentContainer = null;
|
||||
|
||||
/**
|
||||
* The name of this Game Object.
|
||||
* Empty by default and never populated by Phaser, this is left for developers to use.
|
||||
|
|
|
@ -76,15 +76,6 @@ var Container = new Class({
|
|||
*/
|
||||
this.position = 0;
|
||||
|
||||
/**
|
||||
* The parent Container of this Container, if there is one.
|
||||
*
|
||||
* @name Phaser.GameObjects.Container#parentContainer
|
||||
* @type {Phaser.GameObjects.Container}
|
||||
* @since 3.4.0
|
||||
*/
|
||||
this.parentContainer = null;
|
||||
|
||||
/**
|
||||
* [description]
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue