턴 커맨드에 getPreReqTurn, getPostReqTurn 추가

This commit is contained in:
2018-10-03 17:45:47 +09:00
parent 1d0bcd857e
commit a33a7317cc
6 changed files with 70 additions and 10 deletions
+4 -1
View File
@@ -37,9 +37,9 @@ abstract class BaseCommand{
protected $runnableConstraints = null;
protected $reservableConstraints = null;
protected $logger;
public function __construct(General $generalObj, array $env, $arg = null){
@@ -194,6 +194,9 @@ abstract class BaseCommand{
abstract public function getCost():array;
abstract public function getPreReqTurn():int;
abstract public function getPostReqTurn():int;
abstract public function run():bool;