com.planet_ink.coffee_mud.Behaviors.interfaces
Interface ChattyBehavior

All Superinterfaces:
Behavior, java.lang.Cloneable, CMObject, java.lang.Comparable<CMObject>, Contingent, Modifiable, MsgListener, Tickable
All Known Implementing Classes:
MudChat, QuestChat

public interface ChattyBehavior
extends Behavior

A ChattyBehavior is a Behavior causes a mob to have a conversation, or even just simply respond to a player or even another mob.

See Also:
Behavior

Nested Class Summary
static class ChattyBehavior.ChattyEntry
          A chatty entry embodies a test for a particular environmental event, such as someone speaking or acting, and all possible responses to that event.
static class ChattyBehavior.ChattyGroup
          A chatty group is a collection of particular environmental event tests, and their possible responses.
static class ChattyBehavior.ChattyResponse
          A response object representing something the chatty-one will definitely be saying soon.
static class ChattyBehavior.ChattyTestResponse
          A test response is a possible response to an environmental event, such as someone speaking or acting.
 
Field Summary
 
Fields inherited from interface com.planet_ink.coffee_mud.Behaviors.interfaces.Behavior
CAN_AREAS, CAN_EXITS, CAN_ITEMS, CAN_MOBS, CAN_ROOMS, FLAG_LEGALBEHAVIOR, FLAG_MOBILITY, FLAG_POTENTIALLYAGGRESSIVE, FLAG_POTENTIALLYAUTODEATHING, FLAG_TROUBLEMAKING
 
Fields inherited from interface com.planet_ink.coffee_mud.core.interfaces.Tickable
STATUS_AFFECT, STATUS_ALIVE, STATUS_BEHAVIOR, STATUS_CLASS, STATUS_DEAD, STATUS_END, STATUS_FIGHT, STATUS_MISC, STATUS_MISC2, STATUS_MISC3, STATUS_MISC4, STATUS_MISC5, STATUS_MISC6, STATUS_MISC7, STATUS_NOT, STATUS_OTHER, STATUS_RACE, STATUS_REBIRTH, STATUS_SCRIPT, STATUS_START, STATUS_WEATHER, TICKID_AREA, TICKID_BEAMWEAPON, TICKID_CLAN, TICKID_CLANITEM, TICKID_DEADBODY_DECAY, TICKID_ELECTRONICS, TICKID_EMAIL, TICKID_EXIT_BEHAVIOR, TICKID_EXIT_REOPEN, TICKID_ITEM_BEHAVIOR, TICKID_ITEM_BOUNCEBACK, TICKID_LIGHT_FLICKERS, TICKID_LIVEAUCTION, TICKID_LONGERMASK, TICKID_MISCELLANEOUS, TICKID_MOB, TICKID_PROPERTY_SPECIAL, TICKID_QUEST, TICKID_READYTOSTOP, TICKID_ROOM_BEHAVIOR, TICKID_ROOM_ITEM_REJUV, TICKID_SOLITARYMASK, TICKID_SPECIALCOMBAT, TICKID_SPECIALMANEUVER, TICKID_SPELL_AFFECT, TICKID_SUPPORT, TICKID_TIMEAUCTION, TICKID_TRAP_DESTRUCTION, TICKID_TRAP_RESET
 
Method Summary
 MOB getLastRespondedTo()
          Returns the last MOB object spoken to.
 java.lang.String getLastThingSaid()
          Returns the last thing actually spoken by the wielder of this behavior, or null if nothing has been said yet.
 
Methods inherited from interface com.planet_ink.coffee_mud.Behaviors.interfaces.Behavior
accountForYourself, canImprove, canImprove, externalFiles, flags, getParms, grantsAggressivenessTo, parmsFormat, registerDefaultQuest, setParms, setSavable, startBehavior
 
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Tickable
getTickStatus, name, tick
 
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.MsgListener
executeMsg, okMessage
 
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Contingent
amDestroyed, destroy, isSavable
 
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.CMObject
copyOf, ID, initializeClass, newInstance
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Modifiable
getSaveStatIndex, getStat, getStatCodes, isStat, setStat
 

Method Detail

getLastThingSaid

java.lang.String getLastThingSaid()
Returns the last thing actually spoken by the wielder of this behavior, or null if nothing has been said yet.

Returns:
the last thing said.

getLastRespondedTo

MOB getLastRespondedTo()
Returns the last MOB object spoken to.

Returns:
the last MOB object spoken to.