26 lines
479 B
PHP
26 lines
479 B
PHP
<?php
|
|
|
|
namespace sammo;
|
|
class DummyGeneral extends General{
|
|
public function __construct(bool $initLogger=true){
|
|
$raw = [
|
|
'no'=>0,
|
|
'name'=>'Dummy',
|
|
'city'=>0,
|
|
'nation'=>0,
|
|
'level'=>0,
|
|
];
|
|
|
|
$this->raw = $raw;
|
|
|
|
$this->resultTurn = new LastTurn();
|
|
|
|
if($initLogger){
|
|
$this->initLogger(1, 1);
|
|
}
|
|
}
|
|
|
|
function applyDB($db):bool{
|
|
return true;
|
|
}
|
|
} |