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