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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
fire(Player player, Sentence sentence, EventRaiser npc)
does some action after a transition.
-
Constructor Details
-
ProvideCTFFlagsAction
public ProvideCTFFlagsAction()
-
-
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
-