Class ProvideCTFFlagsAction
java.lang.Object
games.stendhal.server.maps.quests.captureflag.ProvideCTFFlagsAction
- All Implemented Interfaces:
ChatAction,PostTransitionAction
throw two flags on the ground after a player has requested them
NOTE: i thought this should be separate, because we could check that
player is able to have a flag (playing, ...). but it's too
late for that check by the time this is fired ...
so i probably need to implement some predicate/condition
- Author:
- sjtsp
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfire(Player player, Sentence sentence, EventRaiser npc) does some action after a transition.
-
Constructor Details
-
ProvideCTFFlagsAction
public ProvideCTFFlagsAction()
-
-
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 saidnpc- the NPC doing the transition
-