mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-12 06:25:32 +00:00
added som PhpDoc to Tile
This commit is contained in:
parent
151681bd80
commit
cef9c4621c
@ -33,6 +33,7 @@ use pocketmine\level\format\Chunk;
|
|||||||
use pocketmine\level\Level;
|
use pocketmine\level\Level;
|
||||||
use pocketmine\level\Position;
|
use pocketmine\level\Position;
|
||||||
use pocketmine\nbt\tag\CompoundTag;
|
use pocketmine\nbt\tag\CompoundTag;
|
||||||
|
use pocketmine\Server;
|
||||||
|
|
||||||
abstract class Tile extends Position{
|
abstract class Tile extends Position{
|
||||||
|
|
||||||
@ -47,19 +48,29 @@ abstract class Tile extends Position{
|
|||||||
const SKULL = "Skull";
|
const SKULL = "Skull";
|
||||||
const BED = "Bed";
|
const BED = "Bed";
|
||||||
|
|
||||||
|
/** @var int */
|
||||||
public static $tileCount = 1;
|
public static $tileCount = 1;
|
||||||
|
|
||||||
|
/** @var string[] classes that extend Tile */
|
||||||
private static $knownTiles = [];
|
private static $knownTiles = [];
|
||||||
|
/** @var string[] */
|
||||||
private static $shortNames = [];
|
private static $shortNames = [];
|
||||||
|
|
||||||
/** @var Chunk */
|
/** @var Chunk */
|
||||||
public $chunk;
|
public $chunk;
|
||||||
|
/** @var string */
|
||||||
public $name;
|
public $name;
|
||||||
|
/** @var int */
|
||||||
public $id;
|
public $id;
|
||||||
|
/** @var bool */
|
||||||
public $closed = false;
|
public $closed = false;
|
||||||
|
/** @var CompoundTag */
|
||||||
public $namedtag;
|
public $namedtag;
|
||||||
|
/** @var float */
|
||||||
protected $lastUpdate;
|
protected $lastUpdate;
|
||||||
|
/** @var Server */
|
||||||
protected $server;
|
protected $server;
|
||||||
|
/** @var TimingsHandler */
|
||||||
protected $timings;
|
protected $timings;
|
||||||
|
|
||||||
public static function init(){
|
public static function init(){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user