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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dropAllCTFItems(Player player)
drop anything the player is carrying that is ctf-related TODO: probably goes elsewhere - more general support classvoid
fire(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: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
-