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-11-06 08:58:13 +01:00
|
|
|
package envoy.client.ui;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Contains information about different scenes and their FXML resource files.
|
|
|
|
*
|
|
|
|
* @author Kai S. K. Engelbart
|
|
|
|
* @since Envoy Client v0.1-beta
|
|
|
|
*/
|
|
|
|
public enum SceneInfo {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The main scene in which the chat screen is displayed.
|
|
|
|
*
|
|
|
|
* @since Envoy Client v0.1-beta
|
|
|
|
*/
|
|
|
|
CHAT_SCENE("/fxml/ChatScene.fxml"),
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The scene in which the settings screen is displayed.
|
|
|
|
*
|
|
|
|
* @since Envoy Client v0.1-beta
|
|
|
|
*/
|
|
|
|
SETTINGS_SCENE("/fxml/SettingsScene.fxml"),
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The scene in which the login screen is displayed.
|
|
|
|
*
|
|
|
|
* @since Envoy Client v0.1-beta
|
|
|
|
*/
|
2020-11-22 11:11:48 +01:00
|
|
|
LOGIN_SCENE("/fxml/LoginScene.fxml");
|
2020-11-06 08:58:13 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* The path to the FXML resource.
|
|
|
|
*/
|
|
|
|
public final String path;
|
|
|
|
|
|
|
|
SceneInfo(String path) {
|
|
|
|
this.path = path;
|
|
|
|
}
|
|
|
|
}
|