This repository has been archived on 2021-12-05. You can view files and clone it, but cannot push or open issues or pull requests.
2020-07-04 15:26:12 +02:00
|
|
|
package envoy.client.ui;
|
|
|
|
|
|
|
|
/**
|
2020-10-19 18:17:51 +02:00
|
|
|
* This interface defines an action that should be performed when a scene gets restored from the
|
|
|
|
* scene stack in {@link SceneContext}.
|
2020-07-04 15:26:12 +02:00
|
|
|
*
|
|
|
|
* @author Leon Hofmeister
|
|
|
|
* @since Envoy Client v0.1-beta
|
|
|
|
*/
|
|
|
|
@FunctionalInterface
|
|
|
|
public interface Restorable {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* This method is getting called when a scene gets restored.<br>
|
2020-10-19 18:17:51 +02:00
|
|
|
* Hence, it can contain anything that should be done when the underlying scene gets restored.
|
2020-07-04 15:26:12 +02:00
|
|
|
*
|
|
|
|
* @since Envoy Client v0.1-beta
|
|
|
|
*/
|
|
|
|
void onRestore();
|
|
|
|
}
|