PocketMine
EntityTeleportEvent Class Reference
Inheritance diagram for EntityTeleportEvent:
EntityEvent Cancellable Event

Public Member Functions

 __construct (Entity $entity, Position $from, Position $to)
 
 getFrom ()
 
 setFrom (Position $from)
 
 getTo ()
 
 setTo (Position $to)
 
- Public Member Functions inherited from EntityEvent
 getEntity ()
 
- Public Member Functions inherited from Event
 getEventName ()
 
 getHandlers ()
 
- Public Member Functions inherited from Cancellable
 isCancelled ()
 
 setCancelled ($value=true)
 

Static Public Attributes

static $handlerList = null
 

Additional Inherited Members

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

Member Function Documentation

getFrom ( )
Returns
Position
getTo ( )
Returns
Position
setFrom ( Position  $from)
Parameters
Position$from
setTo ( Position  $to)
Parameters
Position$to

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