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

Public Member Functions

 __construct (Entity $entity, Position $position, array $blocks, $yield)
 
 getPosition ()
 
 getBlockList ()
 
 setBlockList (array $blocks)
 
 getYield ()
 
 setYield ($yield)
 
- 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
 

Protected Attributes

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

Detailed Description

Called when a entity explodes

Constructor & Destructor Documentation

__construct ( Entity  $entity,
Position  $position,
array  $blocks,
  $yield 
)
Parameters
Entity$entity
Position$position
Block[]$blocks
float$yield

Member Function Documentation

getBlockList ( )
Returns
Block[]
getPosition ( )
Returns
Position
getYield ( )
Returns
float
setBlockList ( array  $blocks)
Parameters
Block[]$blocks
setYield (   $yield)
Parameters
float$yield

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