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

This commit is contained in:
Hide_D committed 2018-07-13 00:12:12 +09:00
1 parent 02f2209e8f
commit 0ca7a8ab8a
7 files changed
+201 -180

No files matched your search

+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;