PHP Class pocketmine\event\level\SpawnChangeEvent

The previous spawn is included
Inheritance: extends LevelEvent
Show file Open project: ClearSkyTeam/ClearSky

Public Properties

Property Type Description
$handlerList

Public Methods

Method Description
__construct ( Level $level, Position $previousSpawn )
getPreviousSpawn ( ) : Position

Method Details

__construct() public method

public __construct ( Level $level, Position $previousSpawn )
$level pocketmine\level\Level
$previousSpawn pocketmine\level\Position

getPreviousSpawn() public method

public getPreviousSpawn ( ) : Position
return pocketmine\level\Position

Property Details

$handlerList public static property

public static $handlerList