Class DisableFeatureAction
java.lang.Object
games.stendhal.server.entity.npc.action.DisableFeatureAction
- All Implemented Interfaces:
ChatAction
,PostTransitionAction
@Dev(category=OTHER,
label="Feature-")
public class DisableFeatureAction
extends Object
implements ChatAction
Action to disable a feature
- Author:
- madmetzger
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DisableFeatureAction
Creates a new DisableFeatureAction.- Parameters:
feature
- name of feature
-
-
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 saidnpc
- the NPC doing the transition
-
toString
-
hashCode
public int hashCode() -
equals
-