processWar 입출력 부근을 General Object로 변경
This commit is contained in:
@@ -4,7 +4,7 @@ namespace sammo;
|
||||
class WarUnitGeneral extends WarUnit{
|
||||
protected $bonusPhase = 0;
|
||||
|
||||
function __construct(General $general, array $rawNation, bool $isAttacker, int $year, int $month){
|
||||
function __construct(General $general, array $rawNation, bool $isAttacker){
|
||||
$this->general = $general;
|
||||
$this->raw = $general->getRaw();
|
||||
$this->rawNation = $rawNation; //read-only
|
||||
|
||||
Reference in New Issue
Block a user