Implemented armor and diamond ability
This commit is contained in:
parent
c42406e615
commit
0c4592ac7c
6 changed files with 113 additions and 1 deletions
|
|
@ -20,6 +20,7 @@ namespace UI
|
|||
[SerializeField] private BlackDieAbility blackDieAbility;
|
||||
[SerializeField] private ChestRewardSelection chestRewardSelection;
|
||||
[SerializeField] private TorchAbility torchAbility;
|
||||
[SerializeField] private ArmorAbility armorAbility;
|
||||
[SerializeField] private Player player;
|
||||
|
||||
public static UIManager Instance { get; private set; }
|
||||
|
|
@ -73,6 +74,9 @@ namespace UI
|
|||
|
||||
player.DiamondCountUpdated += hudController.SetDiamondCount;
|
||||
player.HealthUpdated += hudController.SetHealth;
|
||||
|
||||
armorAbility.ArmorAbilityGained += hudController.SetArmorAbilityEnabled;
|
||||
armorAbility.MarkAbilityUsed += hudController.MarkArmorAbilityUsed;
|
||||
}
|
||||
|
||||
private void OnDisable()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue