public void open(float time, float delay)
	{
		if(opening || open)
			return;
		
		startTime = (double)Time.getTime()/(double)Time.SECOND;
		openTime = startTime + (double)time;
		startCloseTime = openTime + (double)delay;
		closeTime = startCloseTime + (double)time;
		
		opening = true;
		closing = false;
		AudioUtil.playAudio(openNoise, transform.getPosition().sub(Transform.getCamera().getPos()).length());
	}