refac: General 클래스 관련 적용

This commit is contained in:
Hide_D committed 2023-08-01 16:28:28 +00:00
1 parent ed035ab75f
commit 0c53d77e61
5 files changed
+12 -6

No files matched your search

+1 -1
View File
@@ -179,7 +179,7 @@ class AutorunNationPolicy {
'cureThreshold'=>10,
];
function __construct(General $general, $aiOptions, ?array $nationPolicy, ?array $serverPolicy, array $nation, array $env)
function __construct(GeneralLite $general, $aiOptions, ?array $nationPolicy, ?array $serverPolicy, array $nation, array $env)
{
foreach(static::$defaultPolicy as $policy=>$value){
$this->{$policy} = $value;