PHP Class pocketmine\event\entity\EntityShootBowEvent

Inheritance: extends EntityEvent, implements pocketmine\event\Cancellable
Exibir arquivo Open project: iTXTech/Genisys Class Usage Examples

Public Properties

Property Type Description
$handlerList

Public Methods

Method Description
__construct ( Living $shooter, Item $bow, Projectile $projectile, float $force )
getBow ( ) : Item
getEntity ( ) : Living
getForce ( ) : float
getProjectile ( ) : Entity | Projectile
setForce ( float $force )
setProjectile ( Entity $projectile )

Method Details

__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

getBow() public method

public getBow ( ) : Item
return pocketmine\item\Item

getEntity() public method

public getEntity ( ) : Living
return pocketmine\entity\Living

getForce() public method

public getForce ( ) : float
return float

getProjectile() public method

public getProjectile ( ) : Entity | Projectile
return pocketmine\entity\Entity | pocketmine\entity\Projectile

setForce() public method

public setForce ( float $force )
$force float

setProjectile() public method

public setProjectile ( Entity $projectile )
$projectile pocketmine\entity\Entity

Property Details

$handlerList public_oe static_oe property

public static $handlerList