PocketMine-MP 5.23.3 git-f7687af337d001ddbcc47b8e773f014a33faa662
Loading...
Searching...
No Matches
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 114 of file PaintingMotive.php.

Member Function Documentation

◆ __toString()

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

Definition at line 132 of file PaintingMotive.php.

◆ getAll()

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

Definition at line 107 of file PaintingMotive.php.

◆ getHeight()

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

Definition at line 128 of file PaintingMotive.php.

◆ getMotiveByName()

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

Definition at line 97 of file PaintingMotive.php.

◆ getName()

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

Definition at line 120 of file PaintingMotive.php.

◆ getWidth()

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

Definition at line 124 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 90 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: