public void Update()
 {
     hudhearts.Update();
     hudbombs.Update();
     hudkeys.Update();
     hudrupees.Update();
     hudmap.Update();
     hudcurrentitem.Update();
 }
        public void Update()
        {
            hudrupees.Update();
            currentDelay++;
            if (currentDelay == totalDelay)
            {
                selectorSprite.Update();
                currentDelay = 0;
            }

            if (game.currentShopItem.Equals("sword"))
            {
                offsetMultiplier = 0;
            }
            else if (game.currentShopItem.Equals("heart"))
            {
                offsetMultiplier = 1;
            }
            else if (game.currentShopItem.Equals("bluepotion"))
            {
                offsetMultiplier = 2;
            }
            selectorSprite.Y = normalY + offsetMultiplier * selectorOffset;
        }