| Conditions | 1 |
| Paths | 1 |
| Total Lines | 19 |
| Code Lines | 15 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 15 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | 1 | public function __construct(Mefadriel $mefadriel) |
|
| 17 | { |
||
| 18 | 1 | parent::__construct( |
|
| 19 | 1 | new MefadrielDialogContext(), |
|
| 20 | 1 | new DecisionCollection([]), |
|
| 21 | $mefadriel, |
||
| 22 | 1 | new DialogOption( |
|
| 23 | 1 | 'Hey, you. You are finally awake.', |
|
| 24 | 1 | new DialogOptionCollection([ |
|
| 25 | 1 | new DialogOption( |
|
| 26 | 1 | 'Who are you?', |
|
| 27 | 1 | new DialogOptionCollection([ |
|
| 28 | 1 | new DialogOption('My name is Mefadriel. I command this miserable camp.'), |
|
| 29 | ]), |
||
| 30 | ), |
||
| 31 | 1 | new DialogOption( |
|
| 32 | 1 | 'I need your sword.', |
|
| 33 | 1 | new DialogOptionCollection([ |
|
| 34 | 1 | new DialogOption('Take it.', null, Consequence::fight()), |
|
| 35 | ]), |
||
| 42 |