@Override
	public void update()
	{			
		/*
		 * Checks the players current health and applies the correct left or right image
		 */
		final int[] HEALTH_ONE = {76, 51, 26, 1, 0};
		final int[] HEALTH_TWO = {100, 75, 50, 25, 0};
		final String[] RED_IMAGE = { "/left100.jpg", "left75.jpg", "left50.jpg", "left25.jpg", "left0.jpg" };
		final String[] BLUE_IMAGE = { "/right100.jpg", "right75.jpg", "right50.jpg", "right25.jpg", "right0.jpg" };
		
		for(int i = 0; i < HEALTH_ONE.length; i++)
		{
			if (health >= HEALTH_ONE[i] && health <= HEALTH_TWO[i])
			{
				if (color.equals("RED"))
					setBackground(new ImageIcon(loadImage(RED_IMAGE[i])));
				if (color.equals("BLUE"))
					setBackground(new ImageIcon(loadImage(BLUE_IMAGE[i])));
			}
		}

		/*
		 * Deals with the bounds that the player is able to move within (75, 365)
		 * and the speed of the player (17pix)
		 */
		if (movingUp)
			posY = posY >= 75 ? posY - speed : posY - 0;
		else if (movingDown)
			posY = posY <= 365 ? posY + speed : posY - 0;
	}