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

__construct() public method

public __construct ( Living $shooter, Item $bow, Projectile $projectile, float $force )
$shooter pocketmine\entity\Living
$bow pocketmine\item\Item
$projectile pocketmine\entity\Projectile
$force float
    public function __construct(Living $shooter, Item $bow, Projectile $projectile, $force)
    {
        $this->entity = $shooter;
        $this->bow = $bow;
        $this->projectile = $projectile;
        $this->force = $force;
    }