<?php/* * dmmotor — map structures (r_defs.h of linuxdoom-1.10). * Copyright (C) 1993-1996 by id Software, Inc.; PHP port for dmmotor. GPL v2 (see LICENSE). */namespace App\Dm;final class Node{ /** @var array{0:list<float>,1:list<float>} bounding boxes of the two children (top, bottom, left, right) */ public array $bbox; /** @var array{0:int,1:int} children; bit 0x8000 = a subsector */ public array $children; public function __construct( public float $x, public float $y, public float $dx, public float $dy, array $bbox, array $children, ) { $this->bbox = $bbox; $this->children = $children; }}