private void AddComputerEnemiesToScene(Computer comp) { for (int i = 0; i < comp.Enemies.Count; i++) { var ccbd = new ControlCharacterBattleDisplay(comp.Enemies[i]); Grid.SetColumn(ccbd, 2); Grid.SetRow(ccbd, i + 1); this.grdControlBattle.Children.Add(ccbd); } }
private void AddPlayerAlliesToScene(Player play) { for (int i = 0; i < play.Allies.Count; i++) { var ccbd = new ControlCharacterBattleDisplay(play.Allies[i]); Grid.SetColumn(ccbd, 0); Grid.SetRow(ccbd, i + 1); this.grdControlBattle.Children.Add(ccbd); } }