Phpcraft
|
Public Member Functions | |
__construct (int $width, int $height, int $depth, array $blocks) | |
Static Public Member Functions | |
static | fromStructure (Connection $con) |
Public Attributes | |
$width | |
$height | |
$depth | |
$blocks | |
Phpcraft\World\Structure::__construct | ( | int | $width, |
int | $height, | ||
int | $depth, | ||
array | $blocks | ||
) |
|
static |
Initiates a Structure object from a Connection, the read_buffer of which may be a file's zlib_decode'd contents.
array Phpcraft\World\Structure::$blocks |
int Phpcraft\World\Structure::$depth |
int Phpcraft\World\Structure::$height |
int Phpcraft\World\Structure::$width |