Initial commit
This commit is contained in:
commit
3304b53c41
38 changed files with 6573 additions and 0 deletions
18
src/Texture/TextureDefinition.php
Normal file
18
src/Texture/TextureDefinition.php
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<?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,
|
||||
) {}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue