PHP Class pocketmine\event\entity\EntityPortalTeleportEvent

Inheritance: extends EntityTeleportEvent, implements pocketmine\event\Cancellable
显示文件 Open project: ClearSkyTeam/ClearSky

Public Properties

Property Type Description
$handlerList

Public Methods

Method Description
__construct ( Entity $entity, Position $from, Position $to )
getFrom ( ) : Position
getTo ( ) : Position
setFrom ( Position $from )
setTo ( Position $to )

Method Details

__construct() public method

public __construct ( Entity $entity, Position $from, Position $to )
$entity pocketmine\entity\Entity
$from pocketmine\level\Position
$to pocketmine\level\Position

getFrom() public method

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

getTo() public method

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

setFrom() public method

public setFrom ( Position $from )
$from pocketmine\level\Position

setTo() public method

public setTo ( Position $to )
$to pocketmine\level\Position

Property Details

$handlerList public_oe static_oe property

public static $handlerList