/// <summary> /// 构造 /// </summary> /// <param name="info"></param> public PlayerState(PlayerInfo info) { cardList = new List <AbstractCard>(); equipment = new EquipmentStructure(); checkedCardList = new List <AbstractCard>(); usedCard = new List <AbstractCard>(); skill = new List <ISkill>(); lockingSkill = new List <ISkillLocking>(); attDistance = 1; defDistance = 0; extDamage = 0; curHP = info.GetMaxHP(); immuneCards = new List <int>(info.GetImmuneCard()); }
public void SetEquipment(EquipmentStructure equipment) { this.equipment = equipment; }