<?phpnamespace App\Data;use App\Game\Values;/** A room as read from its text file (40x18 tile ids + the 64 byte record). */final class RoomDef{ public int $number = 0; /** @var int[] 720 tile ids */ public array $map; /** @var int[] 64 record bytes */ public array $rec; public function __construct() { $this->map = array_fill(0, Values::MAP_W * Values::MAP_H, 0); $this->rec = array_fill(0, 64, 0); }}