private void RemoveMonsterFromFormation() { if (SelectedMonsterFormation == null || SelectedMonsterFormation.MonsterList.Count == 1 || MonsterListSelection < 1) { return; } SelectedMonsterFormation.MonsterList.RemoveAt(MonsterListSelection); SelectedMonsterFormation.WriteNewMonsterList(); }
private void ChangeMonsterType() { if (SelectedTypeChangeMonster == null || SelectedMonsterFormation == null) { return; } if (SelectedMonsterFormation.MonsterList.Count - 1 < MonsterListSelection || MonsterListSelection < 0) { return; } SelectedMonsterFormation.MonsterList[MonsterListSelection] = SelectedTypeChangeMonster; SelectedMonsterFormation.WriteNewMonsterList(); }
private void AddMonsterToFormation() { SelectedMonsterFormation.MonsterList.Add(Monster.Monsters[0]); SelectedMonsterFormation.WriteNewMonsterList(); }