PlayerMoveEvent
Extends PlayerEvent
Implements Cancellable
Methods
__construct()
php
public function __construct(\pocketmine\player\Player $player, \pocketmine\entity\Location $from, \pocketmine\entity\Location $to)getFrom()
php
public function getFrom() : \pocketmine\entity\LocationgetTo()
php
public function getTo() : \pocketmine\entity\LocationsetTo()
php
public function setTo(\pocketmine\entity\Location $to) : void