Package thijzert.chatty.client.gui.scene
Interface ChattyScene
- All Known Implementing Classes:
ConnectScene
,MainScene
public interface ChattyScene
Interface of all used Scenes. They have a start and next method, but next doesn't have to be used.
- Author:
- Thijzert
-
Method Summary
Modifier and TypeMethodDescriptionvoid
next
(WindowData windowData) This method makes sure the current scene can safely switch to the next scene.void
start
(WindowData windowData) This method starts the scene.
-
Method Details
-
start
This method starts the scene. It switches the stage to another scene by callingstage.setScene(...)
.- Parameters:
windowData
- information of the current window- See Also:
-
next
This method makes sure the current scene can safely switch to the next scene. This method doesn't have to be used.- Parameters:
windowData
- information of the current window- See Also:
-