Class ListProducedItemsOfClassAction
java.lang.Object
games.stendhal.server.entity.npc.action.ListProducedItemsOfClassAction
- All Implemented Interfaces:
ChatAction
,PostTransitionAction
@Dev(category=ITEMS_PRODUCER,
label="List")
public class ListProducedItemsOfClassAction
extends Object
implements ChatAction
Lists all items produced, which are of the given item class, as part of a message
- Author:
- kymara
-
Constructor Summary
ConstructorDescriptionListProducedItemsOfClassAction(String clazz, String message)
Creates a new ListProducedItemsOfClassAction -
Method Summary
-
Constructor Details
-
ListProducedItemsOfClassAction
Creates a new ListProducedItemsOfClassAction- Parameters:
clazz
- Item class to checkmessage
- message with substitution [items] or [#items] for the list of items
-
-
Method Details
-
fire
Description copied from interface:PostTransitionAction
does some action after a transition.- Specified by:
fire
in interfaceChatAction
- Specified by:
fire
in interfacePostTransitionAction
- Parameters:
player
- player who caused the transitionsentence
- text he/she saidraiser
- the NPC doing the transition
-
toString
-
hashCode
public int hashCode() -
equals
-