pocketmine\entity\Projectile::canCollideWith PHP Method

canCollideWith() public method

public canCollideWith ( Entity $entity )
$entity Entity
    public function canCollideWith(Entity $entity)
    {
        return $entity instanceof Living and !$this->onGround;
    }