mirror of
http://47.107.252.169:3000/Roguelite-Game-Developing-Team/Gen_Hack-and-Slash-Roguelite.git
synced 2025-11-19 23:17:13 +08:00
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;
|
|
}
|
|
} |