Co-authored-by: zzdxxz <2079238449@qq.com> Co-committed-by: zzdxxz <2079238449@qq.com>
22 lines
488 B
C#
22 lines
488 B
C#
namespace Entity
|
|
{
|
|
public class Monster
|
|
{
|
|
public Protocol.MonsterPack ToPack()
|
|
{
|
|
var pack= new Protocol.MonsterPack();
|
|
return pack;
|
|
}
|
|
}
|
|
|
|
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;
|
|
}
|
|
} |