|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object wyvern.kernel.combat.AttackType
Represents the possible kinds of attacks.
Field Summary | |
static int |
BASE_ACCURACY
|
static java.lang.String |
HURLED_SKILL
|
static AttackType |
HURLED_WEAPON
Attacker is throwing a spear, dart, or other weapon intended to be thrown. |
static java.lang.String |
MELEE_SKILL
|
static AttackType |
MELEE_WEAPON
Attacking is hitting someone with a wielded weapon that was intended to be wielded as a weapon. |
static java.lang.String |
NO_COMBAT_SKILL
|
static java.lang.String |
RANGE_SKILL
|
static AttackType |
RANGE_WEAPON
Attacker is firing a range weapon, and the damage is being done by a missile. |
static AttackType |
THROW_NON_HURLED
Attacker is throwing something lame, like a chair or a sword. |
static int |
THROW_NON_HURLED_ACCURACY
|
static AttackType |
UNARMED_COMBAT
Attacker is hitting, kicking, biting, or otherwise attacking someone with their body. |
static java.lang.String |
UNARMED_SKILL
|
static AttackType |
WIELD_NON_MELEE
Attacker is wielding something lame, like a chair or a bow, and attacking with it. |
static int |
WIELD_NON_MELEE_ACCURACY
|
Constructor Summary | |
AttackType(java.lang.String name,
int accuracy)
Constructs a new AttackType |
Method Summary | |
int |
getAccuracy()
Returns the base accuracy for this attack type. |
java.lang.String |
toString()
Returns debugging representation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int BASE_ACCURACY
public static final int WIELD_NON_MELEE_ACCURACY
public static final int THROW_NON_HURLED_ACCURACY
public static final java.lang.String UNARMED_SKILL
public static final java.lang.String RANGE_SKILL
public static final java.lang.String HURLED_SKILL
public static final java.lang.String MELEE_SKILL
public static final java.lang.String NO_COMBAT_SKILL
public static final AttackType UNARMED_COMBAT
public static final AttackType RANGE_WEAPON
public static final AttackType MELEE_WEAPON
public static final AttackType HURLED_WEAPON
public static final AttackType WIELD_NON_MELEE
public static final AttackType THROW_NON_HURLED
Constructor Detail |
public AttackType(java.lang.String name, int accuracy)
Method Detail |
public int getAccuracy()
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |