wyvern.kernel.combat
Class WearEvent

java.lang.Object
  extended bywyvern.kernel.properties.PList
      extended bywyvern.kernel.commands.EventImpl
          extended bywyvern.kernel.commands.TargetedEvent
              extended bywyvern.kernel.combat.WearEvent
All Implemented Interfaces:
Broadcaster, CommandEvent, PropertyList
Direct Known Subclasses:
WearCommand.UnwearEvent

public class WearEvent
extends TargetedEvent

Encapsulates the event for wearing some armor.

Version:
1.0, Jan 02, 2004
Author:
Steve Yegge

Field Summary
static java.lang.String alreadyWear1Msg
           
static java.lang.String cantWearMsg
           
static java.lang.String cursedMsg1
           
static java.lang.String cursedMsg2
           
static java.lang.String noArgMsg
           
static java.lang.String noInventoryMsg
           
static java.lang.String notArmorMsg
           
static java.lang.String notFoundMsg
           
static java.lang.String okMsg
           
protected  java.util.List parts_
           
static java.lang.String remove1stMsg1
           
static java.lang.String remove1stMsg2
           
static java.lang.String sameObjectMsg
           
static java.lang.String sameObjectMsg2
           
static java.lang.String tooBigMsg
           
static java.lang.String tooSmallMsg
           
 
Fields inherited from class wyvern.kernel.commands.TargetedEvent
cloneError_, location_, quantity_, target_, targetName_
 
Fields inherited from class wyvern.kernel.commands.EventImpl
agent_, appendToFile_, argString_, argStringParsed_, argv_, argvParsed_, delay_, failureMessage_, filterObjects_, filters_, handler_, map_, modified_, originalText_, playerOriginated_, redirectFile_, redirecting_, sendToAgent_, successMessage_, verb_, vetoed_, wizParsed_
 
Fields inherited from class wyvern.kernel.properties.PList
readOnly_
 
Fields inherited from interface wyvern.lib.PropertyList
PROPERTY_PACKAGE
 
Constructor Summary
WearEvent(java.lang.String originalText, Commandable agent)
           
 
Method Summary
 java.util.List getBodyParts()
           
 void setBodyParts(java.util.List parts)
           
 
Methods inherited from class wyvern.kernel.commands.TargetedEvent
getCloneErrorMsg, getLocation, getQuantity, getTarget, getTargetName, hasTarget, isQuantified, isTargetSpecifiedByHashcode, setLocation, setQuantified, setQuantity, setTarget, setTargetName
 
Methods inherited from class wyvern.kernel.commands.EventImpl
broadcast, broadcast, broadcast, broadcast, broadcast, checkVeto, fail, filterMessage, findAllMatches, findByHashcode, findInMap, findNeighbor, findObject, findTarget, getAgent, getArgs, getArgString, getDelay, getFailureMessage, getFilterObjects, getFilters, getHandler, getMap, getOriginalText, getRedirectFile, getSuccessMessage, getVerb, hasArgs, isAppending, isModified, isMonster, isPlayer, isPlayerOriginated, isRedirecting, isSendingToAgent, isVetoed, isWizard, main, message, message, noArgs, parseArgString, parseARGV, parseVerb, profileParsing, redirectMessage, runPostHooks, runPreHooks, searchInv, searchInvAndMapNearby, searchInvAndMapUnder, searchInvByHashcode, searchMapNearby, searchMapUnder, searchMapUnderByHashcode, setAgent, setArgs, setDelay, setFailureMessage, setHandler, setMap, setModified, setOriginalText, setPlayerOriginated, setSuccessMessage, setVerb, setVeto, toString, veto
 
Methods inherited from class wyvern.kernel.properties.PList
addProperty, addTransientProperty, adjustDoubleProperty, adjustIntProperty, adjustLongProperty, adjustTransientDoubleProperty, adjustTransientIntProperty, adjustTransientLongProperty, countLocalProperties, debugProperties, dismantlePropertyList, getDoubleProperty, getInheritedProperty, getInteger, getIntProperty, getLocalProperties, getLocalProperty, getLongProperty, getParent, getPersistentDoubleProperty, getPersistentIntProperty, getPersistentLocalProperties, getPersistentLongProperty, getPersistentProperty, getProfilingInfo, getProperties, getProperties, getPropertiesIncludingTransients, getPropertiesIncludingTransients, getProperty, getSerializableProperties, getSerializableProperty, getStringProperty, getTransientDoubleProperty, getTransientIntProperty, getTransientLongProperty, getTransientProperties, getTransientProperty, hasLocalProperty, hasPersistentProperty, hasProperty, hasTransientProperty, inheritProperty, isReadOnly, isRemoved, isTransientlyRemoved, printLocalProperties, printProperties, printProperties, printTransientProperties, removeProperty, removeTransientProperty, setDoubleProperty, setIntProperty, setLongProperty, setParent, setProperty, setReadOnly, setTransientDoubleProperty, setTransientIntProperty, setTransientLongProperty, setTransientProperty, toString, transientlyRemoveProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface wyvern.lib.PropertyList
addProperty, addTransientProperty, adjustDoubleProperty, adjustIntProperty, adjustLongProperty, adjustTransientDoubleProperty, adjustTransientIntProperty, adjustTransientLongProperty, countLocalProperties, getDoubleProperty, getInheritedProperty, getIntProperty, getLocalProperties, getLocalProperty, getLongProperty, getParent, getPersistentDoubleProperty, getPersistentIntProperty, getPersistentLocalProperties, getPersistentLongProperty, getPersistentProperty, getProperties, getProperties, getPropertiesIncludingTransients, getPropertiesIncludingTransients, getProperty, getSerializableProperties, getSerializableProperty, getStringProperty, getTransientDoubleProperty, getTransientIntProperty, getTransientLongProperty, getTransientProperties, getTransientProperty, hasLocalProperty, hasPersistentProperty, hasProperty, hasTransientProperty, inheritProperty, isReadOnly, isRemoved, isTransientlyRemoved, printLocalProperties, printProperties, printProperties, printTransientProperties, removeProperty, removeTransientProperty, setDoubleProperty, setIntProperty, setLongProperty, setParent, setProperty, setReadOnly, setTransientDoubleProperty, setTransientIntProperty, setTransientLongProperty, setTransientProperty, toString, transientlyRemoveProperty
 

Field Detail

noArgMsg

public static final java.lang.String noArgMsg
See Also:
Constant Field Values

notFoundMsg

public static final java.lang.String notFoundMsg
See Also:
Constant Field Values

notArmorMsg

public static final java.lang.String notArmorMsg
See Also:
Constant Field Values

noInventoryMsg

public static final java.lang.String noInventoryMsg
See Also:
Constant Field Values

cantWearMsg

public static final java.lang.String cantWearMsg
See Also:
Constant Field Values

tooSmallMsg

public static final java.lang.String tooSmallMsg
See Also:
Constant Field Values

tooBigMsg

public static final java.lang.String tooBigMsg
See Also:
Constant Field Values

alreadyWear1Msg

public static final java.lang.String alreadyWear1Msg
See Also:
Constant Field Values

sameObjectMsg

public static final java.lang.String sameObjectMsg
See Also:
Constant Field Values

sameObjectMsg2

public static final java.lang.String sameObjectMsg2
See Also:
Constant Field Values

remove1stMsg1

public static final java.lang.String remove1stMsg1
See Also:
Constant Field Values

remove1stMsg2

public static final java.lang.String remove1stMsg2
See Also:
Constant Field Values

cursedMsg1

public static final java.lang.String cursedMsg1
See Also:
Constant Field Values

cursedMsg2

public static final java.lang.String cursedMsg2
See Also:
Constant Field Values

okMsg

public static final java.lang.String okMsg
See Also:
Constant Field Values

parts_

protected java.util.List parts_
Constructor Detail

WearEvent

public WearEvent(java.lang.String originalText,
                 Commandable agent)
Method Detail

setBodyParts

public void setBodyParts(java.util.List parts)

getBodyParts

public java.util.List getBodyParts()