PHP Class pocketmine\entity\Squid

Inheritance: extends WaterAnimal, implements pocketmine\entity\Ageable
Afficher le fichier Open project: iTXTech/Genisys

Méthodes publiques

Свойство Type Description
$dropExp
$height
$length
$swimDirection pocketmine\math\Vector3
$swimSpeed
$width

Méthodes publiques

Méthode Description
attack ( $damage, EntityDamageEvent $source )
getDrops ( )
getName ( ) : string
initEntity ( )
onUpdate ( $currentTick )
spawnTo ( Player $player )

Private Methods

Méthode Description
generateRandomDirection ( )

Method Details

attack() public méthode

public attack ( $damage, EntityDamageEvent $source )
$source pocketmine\event\entity\EntityDamageEvent

getDrops() public méthode

public getDrops ( )

getName() public méthode

public getName ( ) : string
Résultat string

initEntity() public méthode

public initEntity ( )

onUpdate() public méthode

public onUpdate ( $currentTick )

spawnTo() public méthode

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

Property Details

$dropExp public_oe property

public $dropExp

$height public_oe property

public $height

$length public_oe property

public $length

$swimDirection public_oe property

public Vector3,pocketmine\math $swimDirection
Résultat pocketmine\math\Vector3

$swimSpeed public_oe property

public $swimSpeed

$width public_oe property

public $width