<?php

namespace Doom\Picture;

/**
 * This is doom's internal Image format called "Picture"
 */
final class Picture
{
    /**
     * @param array<int, array<int, array{y: int, topdelta: int, pixels: int[]}>> $posts
     */
    public function __construct(
        public readonly int $width,
        public readonly int $height,
        public readonly int $left,
        public readonly int $top,
        public readonly array $posts
    ) {}
}
