27 lines
515 B
PHP
27 lines
515 B
PHP
<?php
|
|
|
|
namespace sammo;
|
|
|
|
class GameUnitConstraintHelper {
|
|
|
|
static function ReqTech(int $reqTech): array {
|
|
return [__FUNCTION__, $reqTech];
|
|
}
|
|
|
|
static function ReqCities(array $reqCities): array {
|
|
return [__FUNCTION__, $reqCities];
|
|
}
|
|
|
|
static function ReqRegions(array $reqRegions): array {
|
|
return [__FUNCTION__, $reqRegions];
|
|
}
|
|
|
|
static function ReqMinYear(int $reqMinYear): array {
|
|
return [__FUNCTION__, $reqMinYear];
|
|
}
|
|
}
|
|
|
|
namespace sammo\Constraint;
|
|
|
|
|