Class ExamineChatAction
java.lang.Object
games.stendhal.server.entity.npc.action.ExamineChatAction
- All Implemented Interfaces:
ChatAction
,PostTransitionAction
@Dev(category=CHAT,
label="Image")
public class ExamineChatAction
extends Object
implements ChatAction
Opens an examine window on the client showing an image
- Author:
- hendrik
-
Constructor Summary
ConstructorDescriptionExamineChatAction(String image, String title, String caption)
Creates a new ExamineChatAction -
Method Summary
-
Constructor Details
-
ExamineChatAction
Creates a new ExamineChatAction- Parameters:
image
- the image to displaytitle
- the titlecaption
- text to display along the image
-
-
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
-
toString
-
hashCode
public int hashCode() -
equals
-