mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +00:00
Chunk: Add some PhpDoc
This commit is contained in:
parent
c564655f9b
commit
48c5db4296
@ -40,17 +40,25 @@ class Chunk{
|
|||||||
|
|
||||||
public const MAX_SUBCHUNKS = 16;
|
public const MAX_SUBCHUNKS = 16;
|
||||||
|
|
||||||
|
/** @var int */
|
||||||
protected $x;
|
protected $x;
|
||||||
|
/** @var int */
|
||||||
protected $z;
|
protected $z;
|
||||||
|
|
||||||
|
/** @var bool */
|
||||||
protected $hasChanged = false;
|
protected $hasChanged = false;
|
||||||
|
|
||||||
|
/** @var bool */
|
||||||
protected $isInit = false;
|
protected $isInit = false;
|
||||||
|
|
||||||
|
/** @var bool*/
|
||||||
protected $lightPopulated = false;
|
protected $lightPopulated = false;
|
||||||
|
/** @var bool */
|
||||||
protected $terrainGenerated = false;
|
protected $terrainGenerated = false;
|
||||||
|
/** @var bool */
|
||||||
protected $terrainPopulated = false;
|
protected $terrainPopulated = false;
|
||||||
|
|
||||||
|
/** @var int */
|
||||||
protected $height = Chunk::MAX_SUBCHUNKS;
|
protected $height = Chunk::MAX_SUBCHUNKS;
|
||||||
|
|
||||||
/** @var \SplFixedArray|SubChunkInterface[] */
|
/** @var \SplFixedArray|SubChunkInterface[] */
|
||||||
@ -61,6 +69,7 @@ class Chunk{
|
|||||||
|
|
||||||
/** @var Tile[] */
|
/** @var Tile[] */
|
||||||
protected $tiles = [];
|
protected $tiles = [];
|
||||||
|
/** @var Tile[] */
|
||||||
protected $tileList = [];
|
protected $tileList = [];
|
||||||
|
|
||||||
/** @var Entity[] */
|
/** @var Entity[] */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user