private boolean holdB;
public HUD() {
super("HUD");
heartholder = new Sprite("Resources/Sprites/HUD/heartholder.png"); addFrame(heartholder);
heartEmpty = new Sprite("Resources/Sprites/HUD/heart0.png"); addFrame(heartEmpty);
heartQuarter = new Sprite("Resources/Sprites/HUD/heart1.png"); addFrame(heartQuarter);
heartHalf = new Sprite("Resources/Sprites/HUD/heart2.png"); addFrame(heartHalf);
heartThreeQ = new Sprite("Resources/Sprites/HUD/heart3.png"); addFrame(heartThreeQ);
heartFull = new Sprite("Resources/Sprites/HUD/heart4.png"); addFrame(heartFull);
magicHolder = new Sprite("Resources/Sprites/HUD/magicholder.png"); addFrame(magicHolder);
magic = new Sprite("Resources/Sprites/HUD/magicbit.png"); addFrame(magic);
itemholder = new Sprite("Resources/Sprites/HUD/itemholder.png"); addFrame(itemholder);
actionText = new Text(GlobalVariables.action,true);
draw.setVisible(true);
position.x = 200;