PHP Class pocketmine\entity\XPOrb

Inheritance: extends Entity
Show file Open project: iTXTech/Genisys Class Usage Examples

Public Properties

Property Type Description
$height
$length
$width

Protected Properties

Property Type Description
$drag
$experience
$gravity
$range

Public Methods

Method Description
canCollideWith ( Entity $entity )
getExperience ( )
initEntity ( )
onUpdate ( $currentTick )
setExperience ( $exp )
spawnTo ( Player $player )

Method Details

canCollideWith() public method

public canCollideWith ( Entity $entity )
$entity Entity

getExperience() public method

public getExperience ( )

initEntity() public method

public initEntity ( )

onUpdate() public method

public onUpdate ( $currentTick )

setExperience() public method

public setExperience ( $exp )

spawnTo() public method

public spawnTo ( Player $player )
$player pocketmine\Player

Property Details

$drag protected property

protected $drag

$experience protected property

protected $experience

$gravity protected property

protected $gravity

$height public property

public $height

$length public property

public $length

$range protected property

protected $range

$width public property

public $width