| Total Complexity | 3 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Coverage | 50% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | abstract class DialogEvent extends Event |
||
| 13 | { |
||
| 14 | 1 | public function __construct( |
|
| 15 | Context $context, |
||
| 16 | DecisionCollection $decisionCollection, |
||
| 17 | protected Entity $subject, |
||
| 18 | protected DialogOption $dialogOption, |
||
| 19 | ) { |
||
| 20 | 1 | parent::__construct( |
|
| 21 | 1 | $context, |
|
| 22 | $decisionCollection, |
||
| 23 | ); |
||
| 24 | 1 | } |
|
| 25 | |||
| 26 | public function __invoke(Player $player, PlayerAction $playerAction): Decision |
||
| 29 | } |
||
| 30 | |||
| 31 | public function getSubject(): Entity |
||
| 36 |