병종 테이블에 '병종 타입' 지정, 턴 커맨드를 json array로 변경

This commit is contained in:
2018-07-13 00:12:12 +09:00
parent 02f2209e8f
commit 0ca7a8ab8a
7 changed files with 201 additions and 180 deletions
+3
View File
@@ -3,6 +3,7 @@ namespace sammo;
class GameUnitDetail{
public $id;
public $armType;
public $name;
public $attack;
public $defence;
@@ -17,6 +18,7 @@ class GameUnitDetail{
public function __construct(
int $id,
int $armType,
string $name,
int $attack,
int $defence,
@@ -30,6 +32,7 @@ class GameUnitDetail{
array $info
){
$this->name = $name;
$this->armType = $armType;
$this->attack = $attack;
$this->defence = $defence;
$this->speed = $speed;