Class LeaveCaptureFlagAction
java.lang.Object
games.stendhal.server.maps.quests.captureflag.LeaveCaptureFlagAction
- All Implemented Interfaces:
ChatAction,PostTransitionAction
leave a game of CTF (remove the tag uselistener
- Author:
- hendrik, sjtsp
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddropAllCTFItems(Player player) drop anything the player is carrying that is ctf-related TODO: probably goes elsewhere - more general support classvoidfire(Player player, Sentence sentence, EventRaiser npc) does some action after a transition.
-
Constructor Details
-
LeaveCaptureFlagAction
public LeaveCaptureFlagAction()
-
-
Method Details
-
dropAllCTFItems
drop anything the player is carrying that is ctf-related TODO: probably goes elsewhere - more general support class- Parameters:
player- player whose items should be dropped
-
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
-