pocketmine\event\player\PlayerPickupExpOrbEvent::setAmount PHP Method

setAmount() public method

public setAmount ( integer $amount )
$amount integer
    public function setAmount(int $amount)
    {
        $this->amount = $amount;
    }