PHP Class pocketmine\event\entity\EntityRegainHealthEvent

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

Public Properties

Property Type Description
$handlerList

Public Methods

Method Description
__construct ( Entity $entity, float $amount, integer $regainReason )
getAmount ( ) : float
getRegainReason ( )
setAmount ( float $amount )

Method Details

__construct() public method

public __construct ( Entity $entity, float $amount, integer $regainReason )
$entity pocketmine\entity\Entity
$amount float
$regainReason integer

getAmount() public method

public getAmount ( ) : float
return float

getRegainReason() public method

public getRegainReason ( )

setAmount() public method

public setAmount ( float $amount )
$amount float

Property Details

$handlerList public static property

public static $handlerList