This commit is contained in:
parent
86fb22e701
commit
40680006e6
@ -52,7 +52,6 @@ export class GameModel {
|
|||||||
const parentProductGamesystem = ProductGamesystem.constructFromSimpleGamesystem(parentGamesystem, this);
|
const parentProductGamesystem = ProductGamesystem.constructFromSimpleGamesystem(parentGamesystem, this);
|
||||||
parentProductGamesystem.addChildGamesystem(simpleGamesystem);
|
parentProductGamesystem.addChildGamesystem(simpleGamesystem);
|
||||||
simpleGamesystem.parentGamesystem = parentProductGamesystem;
|
simpleGamesystem.parentGamesystem = parentProductGamesystem;
|
||||||
console.log("The parent of my parent is ", parentProductGamesystem.parentGamesystem!.componentName)
|
|
||||||
} else {
|
} else {
|
||||||
const productParentGamesystem = parentGamesystem as ProductGamesystem;
|
const productParentGamesystem = parentGamesystem as ProductGamesystem;
|
||||||
productParentGamesystem.addChildGamesystem(simpleGamesystem);
|
productParentGamesystem.addChildGamesystem(simpleGamesystem);
|
||||||
|
Loading…
Reference in New Issue
Block a user