com.mineblown.challengescript.scripting.event
Class ScriptPlayerRespawnEvent

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

public class ScriptPlayerRespawnEvent
extends java.lang.Object


Constructor Summary
ScriptPlayerRespawnEvent(ScriptLocation respawnLocation, ScriptPlayer player)
           
 
Method Summary
 ScriptPlayer getPlayer()
          Gets the player that just respawned
 ScriptLocation getRespawnLocation()
          Gets the ScriptLocation that the player will respawn at.
 void setRespawnLocation(ScriptLocation respawnLocation)
          Sets the ScriptLocation that the player will respawn at.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptPlayerRespawnEvent

public ScriptPlayerRespawnEvent(ScriptLocation respawnLocation,
                                ScriptPlayer player)
Method Detail

getRespawnLocation

public ScriptLocation getRespawnLocation()
Gets the ScriptLocation that the player will respawn at.

Returns:
The location.

setRespawnLocation

public void setRespawnLocation(ScriptLocation respawnLocation)
Sets the ScriptLocation that the player will respawn at.

Parameters:
respawnLocation - The location.

getPlayer

public ScriptPlayer getPlayer()
Gets the player that just respawned

Returns:
repsawned player