Flat: clean up more garbage

This commit is contained in:
Dylan K. Taylor 2018-06-07 20:18:04 +01:00
parent 172abef2a7
commit e3c97d7d5e

View File

@ -37,7 +37,14 @@ class Flat extends Generator{
private $chunk;
/** @var Populator[] */
private $populators = [];
private $structure, $chunks, $options, $floorLevel, $preset;
/** @var int[][] */
private $structure;
/** @var int */
private $floorLevel;
/** @var mixed[] */
private $options;
/** @var string */
private $preset;
public function getSettings() : array{
return $this->options;
@ -92,8 +99,6 @@ class Flat extends Generator{
$options = (string) ($preset[3] ?? "");
$this->structure = self::parseLayers($blocks);
$this->chunks = [];
$this->floorLevel = $y = count($this->structure);
$this->chunk = new Chunk(0, 0);