I'm implementing perks into my game and was wondering whether the should be handled by an instance variable, local or global variable.
Players earn points which they can spend on perks between levels. Atm, when player picks a perk, an instance variable (boolean) gets toggled on the player object. On restart (after death or on new game) the IV's get reset to false.
Is this the best way? Would it be better to handle perks with LV/GV's? would it even make a difference at all?
Just curious!
Thanks!