com.mineblown.challengescript.scripting.event
Class ScriptPlayerDeathEvent

java.lang.Object
  extended by com.mineblown.challengescript.scripting.event.ScriptPlayerDeathEvent

public class ScriptPlayerDeathEvent
extends java.lang.Object


Constructor Summary
ScriptPlayerDeathEvent(java.lang.String damageCause, ScriptPlayer player)
           
 
Method Summary
 java.lang.String getDamageCause()
          Gets the cause of the damage.
 ScriptPlayer getPlayer()
          Gets the player that is dying.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptPlayerDeathEvent

public ScriptPlayerDeathEvent(java.lang.String damageCause,
                              ScriptPlayer player)
Method Detail

getDamageCause

public java.lang.String getDamageCause()
Gets the cause of the damage.

Returns:
The name of the DamageCause

getPlayer

public ScriptPlayer getPlayer()
Gets the player that is dying.

Returns:
dying player