com.mineblown.challengescript.scripting.event
Class ScriptPlayerPotionHitEntityEvent

java.lang.Object
  extended by com.mineblown.challengescript.scripting.event.ScriptPlayerProjectileHitEvent
      extended by com.mineblown.challengescript.scripting.event.ScriptPlayerPotionHitEntityEvent

public class ScriptPlayerPotionHitEntityEvent
extends ScriptPlayerProjectileHitEvent


Constructor Summary
ScriptPlayerPotionHitEntityEvent(ScriptEntity inPotion, ScriptEntity inDamaged, ScriptPlayer inPlayer)
           
 
Method Summary
 ScriptEntity getDamagedEntity()
          Returns the entity that has been damaged with the potion.
 
Methods inherited from class com.mineblown.challengescript.scripting.event.ScriptPlayerProjectileHitEvent
getEntity, getPlayer
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptPlayerPotionHitEntityEvent

public ScriptPlayerPotionHitEntityEvent(ScriptEntity inPotion,
                                        ScriptEntity inDamaged,
                                        ScriptPlayer inPlayer)
Method Detail

getDamagedEntity

public ScriptEntity getDamagedEntity()
Returns the entity that has been damaged with the potion.

Returns:
Damaged Entity