resolve()

in _includes/resources/tutorial/TutorialModels.ts [52:66]


	resolve(allResources: ResourceMap) {
		super.resolve(allResources);

		// then call this
		this.tutorialItems.forEach((ti) => {
			const url = resolveChildPath(this.url, ti);
			const tutorialStep = allResources.get(url) as TutorialStep;
			if (tutorialStep) {
				tutorialStep.parentTutorial = this;
				this.tutorialSteps.push(tutorialStep);
			} else {
				throw new Error(`Tutorial step ${url} not found in ${this.url}`);
			}
		});
	}