Lines 100.00% 1 / 1
Functions and Methods 100.00% 1 / 1
Classes and Traits 100.00% 1 / 1
Name Lines Functions and Methods CRAP Classes and Traits
Spawn 100.00% 1 / 1 100.00% 1 / 1 1 100.00% 1 / 1
 __construct 100.00% 1 / 1 100.00% 1 / 1 1
1<?php
2
3declare(strict_types=1);
4
5namespace Lorekeeper\Client\Bot;
6
7use Lorekeeper\Core\World\Monster\MonsterSpawnId;
8use Lorekeeper\Server\Event\Map\MapMonster;
9
10final readonly class Spawn
11{
12    public function __construct(
13        public MonsterSpawnId $id,
14        public MapMonster $monster,
15    ) {}
16}