|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object wyvern.kernel.properties.PList wyvern.kernel.commands.EventImpl wyvern.kernel.commands.TargetedEvent wyvern.kernel.combat.HitEvent
The event that's used in the Hit phase of the combat sequence.
Field Summary |
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 | |
HitEvent()
Constructs a new HitEvent |
|
HitEvent(CommandEvent initial)
Constructs a new HitEvent |
Method Summary | |
Attack |
getAttack()
Returns the weapon or attack used |
AttackType |
getAttackType()
Returns the attack type. |
BodyPart |
getHitLocation()
Returns Body part hit during the attack, if any. |
java.lang.String |
getWeaponSkill()
Returns Weapon skill used for the event. |
void |
setAttack(Attack attack)
Sets the weapon or attack used |
void |
setAttackType(AttackType type)
Sets the type of attack. |
void |
setHitLocation(BodyPart hitLocation)
Sets Body part hit during the attack, if any. |
void |
setWeaponSkill(java.lang.String weaponSkill)
Sets Weapon skill used for the event. |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public HitEvent()
public HitEvent(CommandEvent initial)
Method Detail |
public Attack getAttack()
public void setAttack(Attack attack)
attack
- the weapon or attack usedpublic void setAttackType(AttackType type)
public AttackType getAttackType()
public java.lang.String getWeaponSkill()
public void setWeaponSkill(java.lang.String weaponSkill)
weaponSkill
- Weapon skill used for the event.public BodyPart getHitLocation()
public void setHitLocation(BodyPart hitLocation)
hitLocation
- Body part hit during the attack, if any.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |