using System; using System.Collections.Generic; using System.Text; namespace ET { public class TargetableUnitComponent:Entity { public Unit selectedTeamMember; public Unit selectedEnermy; /// /// 当前目标 /// public Unit currTarget{ get; set; } public List currFriendlyList{ get;} = new List(); public List currEnermyList{ get;} = new List(); public List currAllList{ get;} = new List(); public bool hasCurrList; /// /// 可选择的目标 /// public List targetList{ get;} = new List(); /// /// 所有敌方 /// public List allEnermy = new List(); /// /// 所有友方 /// public List allTeam = new List(); public List allTarget = new List(); } }