GenisysPro  for Minecraft PE/Windows 10 v1.1.x
Feature-rich server software for Minecraft PE and Windows 10 Edition
EntityMotionEvent Class Reference

Public Member Functions

 __construct (Entity $entity, Vector3 $mot)
 
 getVector ()
 
- Public Member Functions inherited from EntityEvent
 getEntity ()
 
- Public Member Functions inherited from Event
 getEventName ()
 
 getHandlers ()
 
- Public Member Functions inherited from Cancellable
 isCancelled ()
 
 setCancelled ($forceCancel=false)
 

Static Public Attributes

static $handlerList = null
 

Additional Inherited Members

- Protected Attributes inherited from EntityEvent
 $entity
 
- Protected Attributes inherited from Event
 $eventName = null
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( Entity  $entity,
Vector3  $mot 
)

EntityMotionEvent constructor.

Parameters
Entity$entity
Vector3$mot
40  {
41  $this->entity = $entity;
42  $this->mot = $mot;
43  }

Member Function Documentation

◆ getVector()

getVector ( )
Returns
Vector3
48  {
49  return $this->mot;
50  }

Field Documentation

◆ $handlerList

$handlerList = null
static

The documentation for this class was generated from the following file: