| Total Complexity | 2 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | abstract class FightEvent extends Event |
||
| 12 | { |
||
| 13 | public function __construct( |
||
| 14 | Context $context, |
||
| 15 | DecisionCollection $decisionCollection, |
||
| 16 | Player $player, |
||
| 17 | protected EntityCollection $subjects, |
||
| 18 | ) { |
||
| 19 | parent::__construct( |
||
| 20 | EventType::fight(), |
||
| 21 | $context, |
||
| 22 | $decisionCollection, |
||
| 23 | $player, |
||
| 24 | ); |
||
| 25 | } |
||
| 26 | |||
| 27 | public function __invoke(): Decision |
||
| 35 | } |
||
| 36 | } |
||
| 37 |