com.mineblown.challengescript.scripting.event
Class ScriptPlayerArrowHitEntityEvent

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

public class ScriptPlayerArrowHitEntityEvent
extends ScriptPlayerProjectileHitEvent


Constructor Summary
ScriptPlayerArrowHitEntityEvent(ScriptEntity entity, ScriptArrow arrow, ScriptPlayer player)
           
 
Method Summary
 ScriptEntity getDamagedEntity()
          Gets the ScriptEntity that was hit by the arrow.
 
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

ScriptPlayerArrowHitEntityEvent

public ScriptPlayerArrowHitEntityEvent(ScriptEntity entity,
                                       ScriptArrow arrow,
                                       ScriptPlayer player)
Method Detail

getDamagedEntity

public ScriptEntity getDamagedEntity()
Gets the ScriptEntity that was hit by the arrow.

Returns:
The entity.