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 TypeMethodDescriptionvoidCalled when a top level entity is added to the user's zone.voidexpireInvite(String group) Called when a group invite expires.static GroupPanelControllerget()Get the GroupPaneController instance.Get the component showing the group information.voidreceiveInvite(String group) Called when the user receives a group invite.voidremoveEntity(IEntity entity) Called when a top level entity is removed from the user's zone.voidUpdate 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, ornullif 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.GameObjectListenerCalled when a top level entity is added to the user's zone.- Specified by:
addEntityin interfaceGameObjects.GameObjectListener
-
removeEntity
Description copied from interface:GameObjects.GameObjectListenerCalled when a top level entity is removed from the user's zone.- Specified by:
removeEntityin interfaceGameObjects.GameObjectListener
-
get
Get the GroupPaneController instance.- Returns:
- instance
-