|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISpecialArmor
This interface is to be implemented by ItemArmor classes. It will allow to modify computation of damage and health loss. Computation will be called before the actual armor computation, which can then be cancelled.
ItemArmor
Method Summary | |
---|---|
int |
adjustArmorDamage(int damage)
This interface will adjust the amount of damage received by the entity. |
boolean |
allowRegularComputation()
When this return true, the regular armor computation will be cancelled |
Method Detail |
---|
int adjustArmorDamage(int damage)
boolean allowRegularComputation()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |