mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
Added some getters to FloatingTextParticle
This commit is contained in:
@ -50,10 +50,18 @@ class FloatingTextParticle extends Particle{
|
||||
$this->title = $title;
|
||||
}
|
||||
|
||||
public function getText() : string{
|
||||
return $this->text;
|
||||
}
|
||||
|
||||
public function setText(string $text) : void{
|
||||
$this->text = $text;
|
||||
}
|
||||
|
||||
public function getTitle() : string{
|
||||
return $this->title;
|
||||
}
|
||||
|
||||
public function setTitle(string $title) : void{
|
||||
$this->title = $title;
|
||||
}
|
||||
|
Reference in New Issue
Block a user