| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | 3 | public function generateLocation(PreviousLocationMap $map, int $x, int $y): Location |
|
| 23 | { |
||
| 24 | 3 | $biom = $this->biomQualifier->qualifyBiom($map); |
|
| 25 | // TODO: qualify location type by biom |
||
| 26 | 3 | $type = LocationType::DEEP_FOREST(); |
|
| 27 | |||
| 28 | 3 | return new Location($x, $y, $type, $biom); |
|
| 29 | } |
||
| 30 | } |
||
| 31 |