Added some getters to FloatingTextParticle

This commit is contained in:
Dylan K. Taylor 2017-09-21 19:10:30 +01:00
parent 030cc4afb0
commit 53ef9b653a

View File

@ -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;
} }