Exemplo n.º 1
0
 /// <summary>
 /// Increases the minion level of this shop.
 /// </summary>
 private void LevelUp()
 {
     level++;
     ClampLevel();
     UpdateCurrentUnitParameters();
     OnShowableDataChanges?.Invoke(GetShowableData());
     UpdateButtons();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Updates the showable data in the UI.
 /// </summary>
 protected void UpdateShowableData()
 {
     OnShowableDataChanges?.Invoke(GetShowableData());
 }