| 1 | <?php |
||
| 16 | class RaceDataProvider extends RoundRaceDataProvider |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @var GameDataStorage |
||
| 20 | */ |
||
| 21 | protected $gameDataStorage; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * RaceDataProvider constructor. |
||
| 25 | * |
||
| 26 | * @param GameDataStorage $gameDataStorage |
||
| 27 | */ |
||
| 28 | public function __construct(GameDataStorage $gameDataStorage) |
||
| 32 | |||
| 33 | |||
| 34 | /** |
||
| 35 | * Check if data provider is compatible with current situation. |
||
| 36 | * |
||
| 37 | * @return bool |
||
| 38 | */ |
||
| 39 | public function isCompatible(Map $map): bool |
||
| 43 | } |
||
| 44 |