org.starhope.appius.game.inventory.effects
Class SimpleDamageEffector
java.lang.Object
org.starhope.appius.game.inventory.effects.SimpleDamageEffector
- All Implemented Interfaces:
- DamageHitHandler
public class SimpleDamageEffector
- extends Object
- implements DamageHitHandler
WRITEME: Document this type.
- Author:
- brpocock@star-hope.org
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
damage
private final DamageTypeRanks damage
SimpleDamageEffector
public SimpleDamageEffector(DamageTypeRanks effect)
- WRITEME: Document this constructor brpocock@star-hope.org
hitForDamage
public void hitForDamage(Projectile projectile,
AbstractUser victim)
- Description copied from interface:
DamageHitHandler
- Take damage from the projectile in accordance with the damage
information associated with it
- Specified by:
hitForDamage
in interface DamageHitHandler
- Parameters:
projectile
- WRITEMEvictim
- WRITEME- See Also:
DamageHitHandler.hitForDamage(org.starhope.appius.game.npc.Projectile, org.starhope.appius.user.AbstractUser)