diff --git a/twe/sammo/Scenario.php b/twe/sammo/Scenario.php index 8c68b5f9..1caffe4a 100644 --- a/twe/sammo/Scenario.php +++ b/twe/sammo/Scenario.php @@ -54,7 +54,7 @@ class Scenario{ $nations = []; foreach($nationsRaw as $idx=>$nation){ - list($name, $color, $gold, $rice, $infoText, $tech, $genCount, $type, $nationLevel, $cities) = $nation; + list($name, $color, $gold, $rice, $infoText, $tech, $type, $nationLevel, $cities) = $nation; $nationID = $idx+1; $nation['id'] = $nationID; @@ -118,6 +118,11 @@ class Scenario{ ]; } + public function buildGame($env=[]){ + //NOTE: 초기화가 되어있다고 가정함. + + } + /** * @return \sammo\Scenario[] */ diff --git a/twe/sammo/Scenario/NPC.php b/twe/sammo/Scenario/NPC.php new file mode 100644 index 00000000..2c9dcf8e --- /dev/null +++ b/twe/sammo/Scenario/NPC.php @@ -0,0 +1,6 @@ +