<?phpnamespace App\Engine\Map;/** A sector: a floor and a ceiling at given heights, a light level (r_defs.h's sector_t). */final class Sector{ public float $floor = 0.0; public float $ceil = 128.0; public string $floorPic = 'FLOOR1'; public string $ceilPic = 'CEIL1'; public int $light = 160; /** the legend entry it was made from (kind, key, damage, lightfx, secret...) */ public array $def = []; public string $kind = ''; /** @var Line[] */ public array $lines = []; /** the moving floor / ceiling / light acting on it (p_spec's specialdata) */ public ?object $mover = null; public ?object $lightFx = null; public bool $secret = false; public int $damage = 0; public ?object $soundTarget = null; public int $soundTraversed = 0; public int $soundValid = 0; public int $validCount = 0; /** sound origin: the middle of its bounding box */ public float $cx = 0.0; public float $cy = 0.0; /** @var array<int, \App\Game\Mobj> things inside (by id) */ public array $things = []; public function __construct(public int $id, public string $char = '') { }}