Class SayTimeRemainingUntilTimeReachedAction
java.lang.Object
games.stendhal.server.entity.npc.action.SayTimeRemainingUntilTimeReachedAction
- All Implemented Interfaces:
ChatAction,PostTransitionAction
@Dev(category=TIME,
label="\"...\"")
public class SayTimeRemainingUntilTimeReachedAction
extends Object
implements ChatAction
Tells the time remaining from current system time to a timestamp stored in a quest slot
- Author:
- omero
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSayTimeRemainingUntilTimeReachedAction(String questname, int index, String message) Creates a new SayTimeRemainingUntilTimeReachedAction.SayTimeRemainingUntilTimeReachedAction(String questname, String message) Creates a new SayTimeRemainingUntilTimeReachedAction. -
Method Summary
-
Constructor Details
-
SayTimeRemainingUntilTimeReachedAction
Creates a new SayTimeRemainingUntilTimeReachedAction.- Parameters:
questname- quest slot to checkmessage- what to say before stating the approximated remaining time
-
SayTimeRemainingUntilTimeReachedAction
@Dev public SayTimeRemainingUntilTimeReachedAction(String questname, @Dev(defaultValue="1") int index, String message) Creates a new SayTimeRemainingUntilTimeReachedAction.- Parameters:
questname- quest slot to checkindex- index of sub statemessage- what to say before saying the approximated remaining time
-
-
Method Details
-
fire
Description copied from interface:PostTransitionActiondoes some action after a transition.- Specified by:
firein interfaceChatAction- Specified by:
firein interfacePostTransitionAction- Parameters:
player- player who caused the transitionsentence- text he/she saidraiser- the NPC doing the transition
-
toString
-
hashCode
public int hashCode() -
equals
-