18 lines
390 B
PHP
18 lines
390 B
PHP
<?php
|
|
|
|
namespace Doom\Texture;
|
|
|
|
final class TextureDefinition
|
|
{
|
|
/**
|
|
* @param Patch[] $patches
|
|
*/
|
|
public function __construct(
|
|
public readonly string $name,
|
|
public readonly bool $masked,
|
|
public readonly int $width,
|
|
public readonly int $height,
|
|
public readonly int $columnDirectory,
|
|
public readonly array $patches,
|
|
) {}
|
|
}
|