Scenario 세팅 과정에 문제 해결

SetNationFront 함수도 수정
This commit is contained in:
2018-03-31 16:06:24 +09:00
parent 71f5311b1d
commit 31d9bac59c
14 changed files with 65 additions and 76 deletions
+5 -1
View File
@@ -2,10 +2,14 @@
namespace sammo\Event;
abstract class Condition{
public abstract function __construct($args=null);
public abstract function eval($env=null);
public static function build($conditionChain){
if(is_bool($conditionChain)){
return new Condition\ConstBool($conditionChain);
}
if(!is_array($conditionChain)){
return $conditionChain;
}