Three hearts for each player
The hearts should be located on top-right for player 1 and top-left for player 2
Add for both players functions TakeDamage(int damageAmount) and RegainHealth(int healthAmount). Implement the functions so that when TakeDamage(someDamageAmount) is called, the amount of hearts corresponding to someDamageAmount disappears and the opposite for RegainHealth(someHealthAmount).
Take assets from here: https://github.com/Daria602/SpacePatrol/issues/32
Three hearts for each player The hearts should be located on top-right for player 1 and top-left for player 2 Add for both players functions TakeDamage(int damageAmount) and RegainHealth(int healthAmount). Implement the functions so that when TakeDamage(someDamageAmount) is called, the amount of hearts corresponding to someDamageAmount disappears and the opposite for RegainHealth(someHealthAmount). Take assets from here: https://github.com/Daria602/SpacePatrol/issues/32