public AssessmentGameState(IDragManager dragManager, Assessment assessment, AssessmentResultState resultState, AssessmentGame game) { this.assessment = assessment; this.resultState = resultState; this.assessmentGame = game; this.dragManager = dragManager; }
protected override void OnInitialize(IGameContext gameContext) { AssessmentContext context = new AssessmentContext(); context.Utils = gameContext; context.Game = this; assessment = CreateConfiguredAssessment(context); ResultState = new AssessmentResultState(this, context.AudioManager); GameState = new AssessmentGameState(context.DragManager, assessment, ResultState, this); IntroState = new AssessmentIntroState(this, GameState, context.AudioManager); }