Chunk: Add some PhpDoc

This commit is contained in:
Dylan K. Taylor 2017-11-27 17:51:42 +00:00
parent c564655f9b
commit 48c5db4296

View File

@ -40,17 +40,25 @@ class Chunk{
public const MAX_SUBCHUNKS = 16;
/** @var int */
protected $x;
/** @var int */
protected $z;
/** @var bool */
protected $hasChanged = false;
/** @var bool */
protected $isInit = false;
/** @var bool*/
protected $lightPopulated = false;
/** @var bool */
protected $terrainGenerated = false;
/** @var bool */
protected $terrainPopulated = false;
/** @var int */
protected $height = Chunk::MAX_SUBCHUNKS;
/** @var \SplFixedArray|SubChunkInterface[] */
@ -61,6 +69,7 @@ class Chunk{
/** @var Tile[] */
protected $tiles = [];
/** @var Tile[] */
protected $tileList = [];
/** @var Entity[] */