public class JXCWindow
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static boolean |
DISABLE_START_GUI
TODO: Remove when more options are implemented in the start screen gui.
|
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
void |
term()
Frees all resources.
|
public static final boolean DISABLE_START_GUI
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)
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, null
for defaultfullScreen
- whether full-screen mode should be enabledskin
- the skin to show