MCPcopy Index your code
hub / github.com/4ian/GDevelop / _replacePixiObject

Method _replacePixiObject

Extensions/TileMap/JsExtension.js:1701–1706  ·  view source on GitHub ↗
(newPixiObject)

Source from the content-addressed store, hash-verified

1699 }
1700
1701 _replacePixiObject(newPixiObject) {
1702 if (this._pixiObject !== null)
1703 this._pixiContainer.removeChild(this._pixiObject);
1704 this._pixiObject = newPixiObject;
1705 this._pixiContainer.addChild(this._pixiObject);
1706 }
1707
1708 _onLoadingError() {
1709 this.errorPixiObject =

Callers 2

_onLoadingErrorMethod · 0.95
_onLoadingSuccessMethod · 0.95

Calls 2

removeChildMethod · 0.45
addChildMethod · 0.45

Tested by

no test coverage detected