전략 구현

This commit is contained in:
2020-05-03 17:30:43 +09:00
parent 207758482f
commit 31baa7fa85
11 changed files with 554 additions and 13 deletions
@@ -15,6 +15,10 @@ class ConstraintHelper{
static function AllowDiplomacyBetweenStatus(array $allowDipCodeList, string $errMsg):array{
return [__FUNCTION__, [$allowDipCodeList, $errMsg]];
}
static function AllowDiplomacyWithTerm(int $allowDipCode, int $allowMinTerm, string $errMsg):array{
return [__FUNCTION__, [$allowDipCode, $allowMinTerm, $errMsg]];
}
static function AllowJoinAction():array{
return [__FUNCTION__];