HudManager

public class HudManager

Class HudManager. Provides hudmanager functionality for the Hytale server.

java.lang.Object > HudManager

Field Summary

customHud

private CustomUIHud customHud

Field customHud.

oldHud

final CustomUIHud oldHud

Field oldHud.

Method Detail

HudManager

public public HudManager ()

Method HudManager.

getCustomHud

public CustomUIHud getCustomHud ()

Method getCustomHud.

getVisibleHudComponents

public Set getVisibleHudComponents ()

Method getVisibleHudComponents.

setVisibleHudComponents

public void setVisibleHudComponents (@Nonnull final PlayerRef ref, final HudComponent... hudComponents)

Method setVisibleHudComponents.

Parameters:
@Nonnull final PlayerRef ref
final HudComponent... hudComponents

showHudComponents

public void showHudComponents (@Nonnull final PlayerRef ref, final HudComponent... hudComponents)

Method showHudComponents.

Parameters:
@Nonnull final PlayerRef ref
final HudComponent... hudComponents

hideHudComponents

public void hideHudComponents (@Nonnull final PlayerRef ref, @Nonnull final HudComponent... hudComponents)

Method hideHudComponents.

Parameters:
@Nonnull final PlayerRef ref
@Nonnull final HudComponent... hudComponents

setCustomHud

public void setCustomHud (@Nonnull final PlayerRef ref, @Nullable final CustomUIHud hud)

Method setCustomHud.

Parameters:
@Nonnull final PlayerRef ref
@Nullable final CustomUIHud hud

CustomHud

public new CustomHud (true, null)

Method CustomHud.

Parameters:
true true
null null

resetHud

public void resetHud (@Nonnull final PlayerRef ref)

Method resetHud.

Parameters:
@Nonnull final PlayerRef ref

resetUserInterface

public void resetUserInterface (@Nonnull final PlayerRef ref)

Method resetUserInterface.

Parameters:
@Nonnull final PlayerRef ref

ResetUserInterfaceState

public new ResetUserInterfaceState ()

Method ResetUserInterfaceState.

sendVisibleHudComponents

public void sendVisibleHudComponents (@Nonnull final PacketHandler packetHandler)

Method sendVisibleHudComponents.

Parameters:
@Nonnull final PacketHandler packetHandler

UpdateVisibleHudComponents

public new UpdateVisibleHudComponents (this.visibleHudComponents.toArray(HudComponent[]::new)

Method UpdateVisibleHudComponents.

Parameters:
this.visibleHudComponents.toArray(HudComponent[]::new this.visibleHudComponents.toArray(HudComponent[]::new

toString

public String toString ()

Method toString.