PocketMine-MP  1.4 - API 1.10.0
 All Classes Namespaces Functions Variables Pages
EntityMotionEvent.php
1 <?php
2 
22 namespace pocketmine\event\entity;
23 
25 use pocketmine\Event;
28 
29 class EntityMotionEvent extends EntityEvent implements Cancellable{
30  public static $handlerList = null;
31  public static $eventPool = [];
32  public static $nextEvent = 0;
33 
34  private $mot;
35 
36  public function __construct(Entity $entity, Vector3 $mot){
37  $this->entity = $entity;
38  $this->mot = $mot;
39  }
40 
44  public function getVector(){
45  return $this->mot;
46  }
47 
48 
49 }