◆ __construct()
- Parameters
-
Living | $shooter | |
Item | $bow | |
Projectile | $projectile | |
float | $force | |
47 $this->entity = $shooter;
49 $this->projectile = $projectile;
50 $this->force = $force;
◆ getBow()
◆ getEntity()
◆ getForce()
◆ getProjectile()
- Returns
- Entity|Projectile
71 return $this->projectile;
◆ setForce()
- Parameters
-
98 $this->force = $force;
◆ setProjectile()
setProjectile |
( |
Entity |
$projectile | ) |
|
- Parameters
-
78 if($projectile !== $this->projectile){
79 if(count($this->projectile->getViewers()) === 0){
80 $this->projectile->kill();
81 $this->projectile->close();
83 $this->projectile = $projectile;
◆ $handlerList
The documentation for this class was generated from the following file:
- src/pocketmine/event/entity/EntityShootBowEvent.php