내정턴 준비

This commit is contained in:
Hide_D committed 2018-09-05 01:28:58 +09:00
1 parent e392207c5a
commit 36cbd21101
3 files changed
+40

No files matched your search

+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{
}