public VisualFadeTask(Core core, Visual visual, double fadeTime, double startAlpha, double targetAlpha) {
		super(core, "Visual Fade");
		this.visual = visual;
		this.fadeTime = fadeTime;
		this.startAlpha = startAlpha;
		this.targetAlpha = targetAlpha;
		this.visual.getColor().setAlpha(this.startAlpha);
		
		this.timer = TimeService.getInstance(core).getTimer();
		this.startTime = this.timer.getTime();
	}