atmosgames / SuperSimple2DKit

A simple kit meant to help jump start the creation of your 2D Unity game!
1.75k stars 599 forks source link

Breakable.cs hitPower #13

Open NakiaDev opened 1 year ago

NakiaDev commented 1 year ago

Breakable.cs: public void GetHurt(int hitPower)

hitPower parameter is not used in method

health -= 1; the hitPower should be used here instead of decreasing by 1