PaintingMotive
Properties
$height
php
public int $height$motives protected
php
protected static array $motives$name
php
public string $name$width
php
public int $widthMethods
__construct()
php
public function __construct(int $width, int $height, string $name)__toString()
php
public function __toString() : stringgetAll()
php
public static function getAll() : arraygetHeight()
php
public function getHeight() : intgetMotiveByName()
php
public static function getMotiveByName(string $name) : ?\pocketmine\entity\object\PaintingMotivegetName()
php
public function getName() : stringgetWidth()
php
public function getWidth() : intinit()
php
public static function init() : voidregisterMotive()
php
public static function registerMotive(\pocketmine\entity\object\PaintingMotive $motive) : void