PocketMine-MP 5.15.1 git-be6754494fdbbb9dd57c058ba0e33a4a78c4581f
pocketmine\entity\object\PaintingMotive Class Reference
+ Collaboration diagram for pocketmine\entity\object\PaintingMotive:

Public Member Functions

 __construct (protected int $width, protected int $height, protected string $name)
 
 __toString ()
 
 getHeight ()
 
 getName ()
 
 getWidth ()
 

Static Public Member Functions

static getAll ()
 
static getMotiveByName (string $name)
 
static init ()
 
static registerMotive (PaintingMotive $motive)
 

Static Protected Attributes

static array $motives = []
 

Detailed Description

Definition at line 26 of file PaintingMotive.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\entity\object\PaintingMotive::__construct ( protected int  $width,
protected int  $height,
protected string  $name 
)

Definition at line 94 of file PaintingMotive.php.

Member Function Documentation

◆ __toString()

pocketmine\entity\object\PaintingMotive::__toString ( )

Definition at line 112 of file PaintingMotive.php.

◆ getAll()

static pocketmine\entity\object\PaintingMotive::getAll ( )
static
Returns
PaintingMotive[]

Definition at line 87 of file PaintingMotive.php.

◆ getHeight()

pocketmine\entity\object\PaintingMotive::getHeight ( )

Definition at line 108 of file PaintingMotive.php.

◆ getMotiveByName()

static pocketmine\entity\object\PaintingMotive::getMotiveByName ( string  $name)
static

Definition at line 77 of file PaintingMotive.php.

◆ getName()

pocketmine\entity\object\PaintingMotive::getName ( )

Definition at line 100 of file PaintingMotive.php.

◆ getWidth()

pocketmine\entity\object\PaintingMotive::getWidth ( )

Definition at line 104 of file PaintingMotive.php.

◆ init()

static pocketmine\entity\object\PaintingMotive::init ( )
static

Definition at line 32 of file PaintingMotive.php.

◆ registerMotive()

static pocketmine\entity\object\PaintingMotive::registerMotive ( PaintingMotive  $motive)
static

Definition at line 70 of file PaintingMotive.php.

Member Data Documentation

◆ $motives

array pocketmine\entity\object\PaintingMotive::$motives = []
staticprotected

Definition at line 30 of file PaintingMotive.php.


The documentation for this class was generated from the following file: