Generate Content of Productgamesystems
Some checks failed
E2E Testing / test (push) Failing after 1m35s
Some checks failed
E2E Testing / test (push) Failing after 1m35s
This commit is contained in:
parent
50963387f0
commit
32656267ac
@ -177,6 +177,7 @@ export class AppComponent implements OnInit{
|
||||
|
||||
gameModel.scriptAccounts = scriptAccounts
|
||||
gameModel.gamesystems = gamesystems
|
||||
gameModel.generateProductSystemContents()
|
||||
|
||||
console.log(gameModel.scriptAccounts)
|
||||
|
||||
|
@ -90,4 +90,12 @@ export class GameModel {
|
||||
addScriptAccount(scriptAccount: ScriptAccount) {
|
||||
this.scriptAccounts.push(scriptAccount);
|
||||
}
|
||||
|
||||
generateProductSystemContents() {
|
||||
this.gamesystems.forEach(gamesystem => {
|
||||
if(gamesystem instanceof ProductGamesystem) {
|
||||
gamesystem.generateFromChildsystems();
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user