Lines
100.00%
3 / 3
Methods
100.00%
2 / 2
Classes
100.00%
1 / 1
| 12 | final readonly class Rest implements Action | |
| 13 | { | |
| 14 | #[Override] | |
| 15 | public function describe(): string | |
| 16 | { | |
| 17 | return 'Rest'; | |
| 18 | } | |
| 19 | ||
| 20 | #[Override] | |
| 21 | public function play(StepScript $bot): Generator | |
| 22 | { | |
| 23 | yield from $bot->rest(); | |
| 24 | ||
| 25 | return null; | |
| 26 | } | |
| 27 | } |