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

Public Member Functions

 __construct (Entity $entity, $force)
 
 getForce ()
 
 setForce ($force)
 
 isBlockBreaking ()
 
 setBlockBreaking ($affectsBlocks)
 
- 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

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

Detailed Description

Called when a entity decides to explode

Constructor & Destructor Documentation

__construct ( Entity  $entity,
  $force 
)
Parameters
Entity$entity
float$force

Member Function Documentation

getForce ( )
Returns
float
isBlockBreaking ( )
Returns
bool
setBlockBreaking (   $affectsBlocks)
Parameters
bool$affectsBlocks

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