Created a variable in the player called bombCount to keep track of the number of bombs the player has.
Also added a check in input manager class to add bombs only when a player has bombs available, the player's number of bombs will be decreased from here(not sure if its correct approach, will refactor later)
Created a variable in the player called bombCount to keep track of the number of bombs the player has.
Also added a check in input manager class to add bombs only when a player has bombs available, the player's number of bombs will be decreased from here(not sure if its correct approach, will refactor later)