기본 커맨드 입력 가능하도록 구현

This commit is contained in:
2019-10-06 22:39:13 +09:00
parent 07317b86a2
commit da205c09f9
13 changed files with 183 additions and 55 deletions
@@ -62,6 +62,12 @@ class che_주민선정 extends Command\GeneralCommand{
return [$reqGold, $reqRice];
}
public function getCompensationStyle():?int{
$develCost = $this->env['develcost'] * 2;
$reqGold = $this->getCost()[1];
return $develCost <=>$reqGold;
}
public function getPreReqTurn():int{
return 0;