Class OwnAction
java.lang.Object
games.stendhal.server.actions.pet.OwnAction
- All Implemented Interfaces:
ActionListener
Owns an domestic animal like a sheep.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
OwnAction
public OwnAction()
-
-
Method Details
-
register
public static void register()registers the action in the command center. -
onAction
processes the requested action.- Specified by:
onAction
in interfaceActionListener
- Parameters:
player
- the caller of the actionaction
- the action to be performed
-