Files
core/twe/sammo/Scenario/Nation.php
T
2018-03-28 17:48:05 +09:00

40 lines
751 B
PHP

<?php
namespace sammo\Scenario;
class Nation{
private $id;
private $name;
private $color;
private $gold;
private $rice;
private $infoText;
private $tech;
private $type;
private $nationLevel;
private $cities = [];
private $generals = [];
public function __construct(
int $id = null,
string $name = '국가',
string $color = '#ffffff',
int $gold = 0,
int $rice = 2000,
string $infoText = '국가 설명',
int $tech = 0,
string $type = '유가',
int $nationLevel = 0,
array $cities = []
){
}
public function setID(int $id){
$this->id = $id;
}
public function build($env=[]){
}
}