@Override
	public void handleEvent(Event event) {
		if (event.isOfType(FADE_IN_FINISHED)) {
			this.fadeIn = null;
			if (this.fadeFinishedId != null) {
				EventService.getInstance(getCore()).dispatchEvent(new SimpleEvent(this.fadeFinishedId));
			}
			this.cover.setMask(0x0000);
		} else if (event.isOfType(FADE_OUT_FINISHED)) {
			this.fadeOut = null;
			if (this.fadeFinishedId != null) {
				EventService.getInstance(getCore()).dispatchEvent(new SimpleEvent(this.fadeFinishedId));
			}
			this.cover.setMask(0x0000);
		}
	}