pocketmine\level\particle\FloatingTextParticle::__construct PHP Method

__construct() public method

public __construct ( Vector3 $pos, integer $text, string $title = "" )
$pos pocketmine\math\Vector3
$text integer
$title string
    public function __construct(Vector3 $pos, $text, $title = "")
    {
        parent::__construct($pos->x, $pos->y, $pos->z);
        $this->text = $text;
        $this->title = $title;
    }