namespace Data { public class AttributesDef : Define { 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; public AttributesDef Clone() { return new AttributesDef { health = this.health, moveSpeed = this.moveSpeed, attack = this.attack, defense = this.defense, attackSpeed = this.attackSpeed, attackRange = this.attackRange, attackTargetCount = this.attackTargetCount }; } } }