증여 추가

This commit is contained in:
2018-10-20 02:11:23 +09:00
parent b178ecd494
commit 7e5c19f507
9 changed files with 272 additions and 104 deletions
+34
View File
@@ -0,0 +1,34 @@
<?php
namespace sammo;
class DummyGeneral extends General{
public function __construct(bool $initLogger=true){
$raw = [
'no'=>0,
'name'=>'Dummy',
'city'=>0,
'nation'=>0,
'level'=>0,
];
$staticNation = getNationStaticInfo($raw['nation']);
$this->raw = $raw;
$this->resultTurn = new LastTurn();
if($initLogger){
$this->logger = new ActionLogger(
$this->getVar('no'),
$this->getVar('nation'),
1,
1,
false
);
}
}
function applyDB($db):bool{
return true;
}
}