コード例 #1
0
 public void AddStage(BattleScene.Stage stage)
 {
     //Stages.Add(stage);
     foreach (var enemy in stage.Enemy)
     {
         AddEnemy(enemy);
     }
 }
コード例 #2
0
 public Stage(BattleScene.Stage stageFrom)
 {
     Enemies     = new List <Enemy>();
     CycleNumber = stageFrom.CycleNumber;
     Number      = stageFrom.StageNumber;
     foreach (var enemyFrom in stageFrom.Enemy)
     {
         Enemy curEnemy = new Enemy(enemyFrom);
         Enemies.Add(curEnemy);
     }
 }