Conditions | 1 |
Paths | 1 |
Total Lines | 5 |
Code Lines | 2 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
26 | public function __invoke(Player $player, PlayerAction $playerAction): Decision |
||
27 | { |
||
28 | $playerAction->introduce((string) $this->context->getLocation()); |
||
29 | // dialog, travel, fight or retreat? |
||
30 | return $playerAction->askForDecision((string) $this->context, $this->decisionCollection); |
||
31 | } |
||
33 |