|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object wyvern.lib.monsters.AbstractCounterAttack wyvern.lib.monsters.ShockAttack
Shock counter-attack.
Field Summary |
Fields inherited from class wyvern.lib.monsters.AbstractCounterAttack |
chance_, DEFAULT_CHANCE, level_ |
Constructor Summary | |
ShockAttack()
|
Method Summary | |
void |
notifyAttacked(GameObject attacker,
GameObject defender,
Attack attack)
Triggers the counter-attack. |
Methods inherited from class wyvern.lib.monsters.AbstractCounterAttack |
getChance, getLevel, setChance, setLevel |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ShockAttack()
Method Detail |
public void notifyAttacked(GameObject attacker, GameObject defender, Attack attack)
attacker
- the attacker (can be null)defender
- the defender (the one with this counterattack)attack
- the weapon (can be null)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |