/// <summary>
 /// opens the edit troop panel for the selected entry's Troop type
 /// </summary>
 public void EditTierEntry()
 {
     selectedEntry.OpenEditTroopPanel();
     GameInterface.instance.editTroopPanel.onDoneEditing += UpdateTreeTroopOptions;
 }
 /// <summary>
 /// opens the edit troop panel for the target entry's Troop type
 /// </summary>
 /// <param name="targetEntry"></param>
 public void EditTierEntry(FactionTroopListEntry targetEntry)
 {
     targetEntry.OpenEditTroopPanel();
     GameInterface.instance.editTroopPanel.onDoneEditing += UpdateTreeTroopOptions;
 }
예제 #3
0
 /// <summary>
 /// opens the edit troop panel for the target entry's Troop type
 /// </summary>
 /// <param name="targetEntry"></param>
 public void EditPickedTroopType()
 {
     trainedTroopType.OpenEditTroopPanel();
     GameInterface.instance.editTroopPanel.onDoneEditing += UpdateTroopTypeOptions;
 }