public void hit(Entity e, Level level)
	{
		if (e instanceof CoinEntity)
		{
			CoinEntity ce = ((CoinEntity) e);
			if (!ce.collected)
			{
				score++;
				Sound.coin.play();
				ce.collected = true;
			}
		}
		if (e instanceof SoildEntity)
		{
			health--;
			System.out.println(health);
			System.out.println(MAX_HEALTH);
			invTimer = 300;
			if(health == 0)
			{
				death(level);
			}
		}
	}