(client) feat:添加数据序列化相关代码 (#37)
Co-authored-by: zzdxxz <2079238449@qq.com> Co-committed-by: zzdxxz <2079238449@qq.com>
This commit is contained in:
18
Client/Assets/Scripts/Entity/Monster.cs
Normal file
18
Client/Assets/Scripts/Entity/Monster.cs
Normal file
@ -0,0 +1,18 @@
|
||||
namespace Entity
|
||||
{
|
||||
public class Monster
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public class MonsterAttributes
|
||||
{
|
||||
public int health = 10;
|
||||
public int moveSpeed = 1;
|
||||
public int attack = 1;
|
||||
public int defense = 0;
|
||||
public int attackSpeed = 2;
|
||||
public int attackRange = 3;
|
||||
public int attackTargetCount = 1;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user