Class SetQuestToTimeStampAction
java.lang.Object
games.stendhal.server.entity.npc.action.SetQuestToTimeStampAction
- All Implemented Interfaces:
ChatAction
,PostTransitionAction
@Dev(category=TIME,
label="State")
public class SetQuestToTimeStampAction
extends Object
implements ChatAction
Sets the state of a quest to the current timestamp.
- See Also:
TimePassedCondition
,SayTimeRemainingAction
-
Constructor Summary
ConstructorDescriptionSetQuestToTimeStampAction(String questname)
Creates a new SetQuestToTimeStampAction.SetQuestToTimeStampAction(String questname, int index)
Creates a new SetQuestToTimeStampAction. -
Method Summary
-
Constructor Details
-
SetQuestToTimeStampAction
Creates a new SetQuestToTimeStampAction.- Parameters:
questname
- name of quest-slot to change
-
SetQuestToTimeStampAction
Creates a new SetQuestToTimeStampAction.- Parameters:
questname
- name of quest-slot to changeindex
- index of sub state
-
-
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
-