내정턴 준비

This commit is contained in:
2018-09-05 01:28:58 +09:00
parent 7679c11b5b
commit a3d0ceb6a5
3 changed files with 40 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
<?php
namespace sammo\Command;
use \sammo\{
Util, JosaUtil,
General,
};
use \sammo\Constraint\{
Constraint, NoNeutral, NoOpeningPart, NoWanderingNation, OccupiedCity,
RemainCityCapacity, ReqGeneralGold, SuppliedCity
};
abstract class BaseCommand{
protected $id = 0;
protected $name = 'CommandName';
abstract public function __construct(General $general, ...$args);
public function getName():string {
return static::$name;
}
}
+9
View File
@@ -0,0 +1,9 @@
<?php
namespace sammo\Command;
use \sammo\Util;
use \sammo\JosaUtil;
class che_농지개간 extends che_상업투자{
}
+9
View File
@@ -0,0 +1,9 @@
<?php
namespace sammo\Command;
use \sammo\Util;
use \sammo\JosaUtil;
class che_상업투자 extends BaseCommand{
}