Package games.stendhal.client.gui.group
Class GroupPanelController
java.lang.Object
games.stendhal.client.gui.group.GroupPanelController
- All Implemented Interfaces:
GameObjects.GameObjectListener
Controller for the group information data.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Called when a top level entity is added to the user's zone.void
expireInvite(String group)
Called when a group invite expires.static GroupPanelController
get()
Get the GroupPaneController instance.Get the component showing the group information.void
receiveInvite(String group)
Called when the user receives a group invite.void
removeEntity(IEntity entity)
Called when a top level entity is removed from the user's zone.void
Update group information data.
-
Method Details
-
getComponent
Get the component showing the group information.- Returns:
- group information component
-
update
Update group information data.- Parameters:
members
- members of the group the player belongs to, ornull
if the player does not belong to any groupleader
- name of the leader of the grouplootMode
- looting mode of the group
-
receiveInvite
Called when the user receives a group invite.- Parameters:
group
- name of the group
-
expireInvite
Called when a group invite expires.- Parameters:
group
- name of the group
-
addEntity
Description copied from interface:GameObjects.GameObjectListener
Called when a top level entity is added to the user's zone.- Specified by:
addEntity
in interfaceGameObjects.GameObjectListener
-
removeEntity
Description copied from interface:GameObjects.GameObjectListener
Called when a top level entity is removed from the user's zone.- Specified by:
removeEntity
in interfaceGameObjects.GameObjectListener
-
get
Get the GroupPaneController instance.- Returns:
- instance
-