public void AddStage(BattleScene.Stage stage) { //Stages.Add(stage); foreach (var enemy in stage.Enemy) { AddEnemy(enemy); } }
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); } }