public override void LoadContent(IContentLoader contentLoader) { backgroundTexture = contentLoader.LoadTexture("Battle/Backgrounds/background"); windowBattle.LoadContent(contentLoader); currentPhase.LoadContent(contentLoader, windowQueuer, battleData); this.contentLoader = contentLoader; }
public override void Update(double gameTime) { currentPhase.Update(gameTime); if (currentPhase.IsDone) { currentPhase = currentPhase.GetNextPhase(); currentPhase.LoadContent(contentLoader, windowQueuer, battleData); } }