Lines
n/a
0 / 0
Functions and Methods
n/a
0 / 0
Classes and Traits
n/a
0 / 0
| Name | Lines | Functions and Methods | CRAP | Classes and Traits | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | <?php | |
| 2 | ||
| 3 | declare(strict_types=1); | |
| 4 | ||
| 5 | namespace Lorekeeper\Client\Command\Combat; | |
| 6 | ||
| 7 | use InvalidArgumentException; | |
| 8 | use Lorekeeper\Client\Command\Command; | |
| 9 | use Lorekeeper\Core\CharacterClass\Skill\SkillSlot; | |
| 10 | use Lorekeeper\Core\Combat\Targetable; | |
| 11 | ||
| 12 | interface Attack extends Command | |
| 13 | { | |
| 14 | public function target(): Targetable; | |
| 15 | ||
| 16 | /** @throws InvalidArgumentException */ | |
| 17 | public function with(SkillSlot $skill): static; | |
| 18 | ||
| 19 | /** @throws InvalidArgumentException */ | |
| 20 | public function at(Targetable $target): static; | |
| 21 | } |