PHP Class pocketmine\entity\Lightning

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

Public Properties

Property Type Description
$height
$length
$width

Public Methods

Method Description
getName ( ) : string
initEntity ( )
onUpdate ( $tick )
spawnTo ( Player $player )
spawnToAll ( )

Method Details

getName() public method

public getName ( ) : string
return string

initEntity() public method

public initEntity ( )

onUpdate() public method

public onUpdate ( $tick )

spawnTo() public method

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

spawnToAll() public method

public spawnToAll ( )

Property Details

$height public property

public $height

$length public property

public $length

$width public property

public $width