org.starhope.appius.game.inventory.effects
Class SimpleDamageEffector

java.lang.Object
  extended by 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

Field Summary
private  DamageTypeRanks damage
           
 
Constructor Summary
SimpleDamageEffector(DamageTypeRanks effect)
          WRITEME: Document this constructor brpocock@star-hope.org
 
Method Summary
 void hitForDamage(Projectile projectile, AbstractUser victim)
          Take damage from the projectile in accordance with the damage information associated with it
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

damage

private final DamageTypeRanks damage
Constructor Detail

SimpleDamageEffector

public SimpleDamageEffector(DamageTypeRanks effect)
WRITEME: Document this constructor brpocock@star-hope.org

Method Detail

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 - WRITEME
victim - WRITEME
See Also:
DamageHitHandler.hitForDamage(org.starhope.appius.game.npc.Projectile, org.starhope.appius.user.AbstractUser)