| 1 | <?php |
||
| 11 | abstract class AbstractGame |
||
| 12 | { |
||
| 13 | /** @var \GameDomain\Rule\AbstractRulesSet */ |
||
| 14 | protected $gameRules; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * {@inheritDoc} |
||
| 18 | */ |
||
| 19 | final public function __construct(AbstractRulesSet $gameRules) |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param \GameDomain\Round\RoundCollection $rounds |
||
| 26 | * |
||
| 27 | * @return \GameDomain\Round\RoundResultCollection |
||
| 28 | */ |
||
| 29 | abstract public function play(RoundCollection $rounds); |
||
| 30 | } |
||
| 31 |