PHP Class pocketmine\event\entity\EntityLaunchFishingRodEvent

Inheritance: extends EntityEvent, implements pocketmine\event\Cancellable
Mostrar archivo Open project: ClearSkyTeam/ClearSky Class Usage Examples

Public Properties

Property Type Description
$handlerList

Public Methods

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

Method Details

__construct() public method

public __construct ( Living $shooter, Item $rod, Projectile $projectile, float $force )
$shooter pocketmine\entity\Living
$rod pocketmine\item\Item
$projectile pocketmine\entity\Projectile
$force float

getEntity() public method

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

getForce() public method

public getForce ( ) : float
return float

getProjectile() public method

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

getRod() public method

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

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