rails.common
Class GuiHints
java.lang.Object
rails.common.GuiHints
- All Implemented Interfaces:
- java.io.Serializable
public class GuiHints
- extends java.lang.Object
- implements java.io.Serializable
This class contains hints from the server (game engine) to the client (GUI)
about the preferred visibility of the various window types.
It is up to the GUI (and its user) to decide what to do with these hints,
but the current implementation should exactly follow these hints.
- Author:
- VosE
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
GuiHints
public GuiHints()
getCurrentRoundType
public java.lang.Class<? extends RoundI> getCurrentRoundType()
setCurrentRoundType
public void setCurrentRoundType(java.lang.Class<? extends RoundI> currentRoundType)
getVisibilityHints
public java.util.List<GuiHints.VisibilityHint> getVisibilityHints()
setVisibilityHint
public void setVisibilityHint(GuiDef.Panel type,
boolean visibility)
clearVisibilityHints
public void clearVisibilityHints()
getActivePanel
public GuiDef.Panel getActivePanel()
setActivePanel
public void setActivePanel(GuiDef.Panel activePanel)