Class JXCWindow
- java.lang.Object
-
- com.realtime.crossfire.jxclient.main.JXCWindow
-
public class JXCWindow extends java.lang.ObjectThe main window.
-
-
Field Summary
Fields Modifier and Type Field Description static booleanDISABLE_START_GUITODO: Remove when more options are implemented in the start screen gui.
-
Constructor Summary
Constructors Constructor Description JXCWindow(@NotNull Exiter exiter, @NotNull CrossfireServerConnection server, @NotNull OptionManager optionManager, @NotNull GuiStateManager guiStateManager, @NotNull JXCWindowRenderer windowRenderer, @NotNull CommandQueue commandQueue, @NotNull GuiManager guiManager, @NotNull KeyHandler keyHandler, @NotNull CharacterModel characterModel, @NotNull JXCConnection connection, @Nullable Resolution resolution, boolean fullScreen, @NotNull JXCSkin skin)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidterm()Frees all resources.
-
-
-
Field Detail
-
DISABLE_START_GUI
public static final boolean DISABLE_START_GUI
TODO: Remove when more options are implemented in the start screen gui.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
JXCWindow
public JXCWindow(@NotNull @NotNull Exiter exiter, @NotNull @NotNull CrossfireServerConnection server, @NotNull @NotNull OptionManager optionManager, @NotNull @NotNull GuiStateManager guiStateManager, @NotNull @NotNull JXCWindowRenderer windowRenderer, @NotNull @NotNull CommandQueue commandQueue, @NotNull @NotNull GuiManager guiManager, @NotNull @NotNull KeyHandler keyHandler, @NotNull @NotNull CharacterModel characterModel, @NotNull @NotNull JXCConnection connection, @Nullable @Nullable Resolution resolution, boolean fullScreen, @NotNull @NotNull JXCSkin skin)Creates a new instance.- Parameters:
exiter- the exiter to useserver- the crossfire server connection to useoptionManager- the option manager instance to useguiStateManager- the gui state manager to usewindowRenderer- the window renderer to usecommandQueue- the command queue instanceguiManager- the gui manager instancekeyHandler- the key handler for keyboard inputcharacterModel- the character model to updateconnection- the connection to updateresolution- the size of the client area,nullfor defaultfullScreen- whether full-screen mode should be enabledskin- the skin to show
-
-