Class AwayAction
java.lang.Object
games.stendhal.server.actions.chat.AwayAction
- All Implemented Interfaces:
ActionListener
Process /away commands.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
AwayAction
public AwayAction()
-
-
Method Details
-
register
public static void register()Registers AwayAction with its trigger word "away". -
onAction
changes away status depending on existence of MESSAGE in action. If action contains MESSAGE, the away status is set else the away status is unset.- Specified by:
onAction
in interfaceActionListener
- Parameters:
player
- The player.action
- The action.
-