Class MoveContinuousAction
java.lang.Object
games.stendhal.server.actions.move.MoveContinuousAction
- All Implemented Interfaces:
ActionListener
Action that allows a player to continue movement after teleport
via portal or after map change without the need to release and
press direction again.
To enable/disable:
- Execute slash command "movecont".
- Change "Continuous Movement" setting in settings dialog.
FIXME: Causes issues with portals where player is teleported
to side opposite of direction pushed.
- Author:
- AntumDeluge
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
MoveContinuousAction
public MoveContinuousAction()
-
-
Method Details
-
register
public static void register()Registers continuous movement action. -
onAction
Enable/Disable continuous movement.- Specified by:
onAction
in interfaceActionListener
- Parameters:
player
- the caller of the actionaction
- the action to be performed
-