내정턴 준비
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
namespace sammo\Command;
|
||||
|
||||
use \sammo\Util;
|
||||
use \sammo\JosaUtil;
|
||||
|
||||
class che_농지개간 extends che_상업투자{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
namespace sammo\Command;
|
||||
|
||||
use \sammo\Util;
|
||||
use \sammo\JosaUtil;
|
||||
|
||||
class che_상업투자 extends BaseCommand{
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user