pocketmine\event\entity\ExplosionPrimeEvent::__construct PHP Method

__construct() public method

public __construct ( Entity $entity, float $force, boolean $dropItem )
$entity pocketmine\entity\Entity
$force float
$dropItem boolean
    public function __construct(Entity $entity, $force, bool $dropItem)
    {
        $this->entity = $entity;
        $this->force = $force;
        $this->blockBreaking = true;
        $this->dropItem = $dropItem;
    }