mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-05 01:29:55 +00:00
Added some getters to FloatingTextParticle
This commit is contained in:
parent
030cc4afb0
commit
53ef9b653a
@ -50,10 +50,18 @@ class FloatingTextParticle extends Particle{
|
|||||||
$this->title = $title;
|
$this->title = $title;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getText() : string{
|
||||||
|
return $this->text;
|
||||||
|
}
|
||||||
|
|
||||||
public function setText(string $text) : void{
|
public function setText(string $text) : void{
|
||||||
$this->text = $text;
|
$this->text = $text;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getTitle() : string{
|
||||||
|
return $this->title;
|
||||||
|
}
|
||||||
|
|
||||||
public function setTitle(string $title) : void{
|
public function setTitle(string $title) : void{
|
||||||
$this->title = $title;
|
$this->title = $title;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user