<?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;use App\Dm\Play\Mobj;final class Sector{ public int $id = 0; public float $floorHeight = 0; public float $ceilingHeight = 0; public int $floorPic = 0; public int $ceilingPic = 0; public int $lightLevel = 160; public int $special = 0; public int $tag = 0; /** 0 = not heard, 1 = heard through one sound-blocking line, 2 = heard (soundtraversed) */ public int $soundTraversed = 0; public ?Mobj $soundTarget = null; public int $validCount = 0; /** @var list<float> top, bottom, left, right */ public array $bbox = [0, 0, 0, 0]; public float $soundOrgX = 0; public float $soundOrgY = 0; /** the floor / ceiling mover working on it (one at a time) */ public ?object $specialData = null; /** @var list<Line> */ public array $lines = []; /** the things in it (sector_t thinglist) */ public ?Mobj $thingList = null;}