public void updateAmmo(char whatFiredIt){
        switch(whatFiredIt){
            case 'b': {
                if ((remainingAmmo - 1) <= 0) {
                    gameOver();
                } else {
                    remainingAmmo -= 1;
                    ammo.setText("Cannons Left: " + remainingAmmo);
                }
                break;
            }
            case 'p': {
                if ((remainingAmmo - 2) <= 0) {
                    gameOver();
                } else {
                    remainingAmmo -= 2;
                    ammo.setText("Cannons Left: " + remainingAmmo);
                }
                break;
            }
        }

        
    }