public EctypeTeam(Ectype ectype) { m_Ectype = ectype; m_entityList = new List <EctypeEntity>(); counterMax[(int)EntityEctypeStatus.Alert] = 10; counterMax[(int)EntityEctypeStatus.Chase] = 5; counterMax[(int)EntityEctypeStatus.Combat] = 10; }
public void CloseEctype() { if (m_Ectype != null) { m_Ectype.Close(); m_Ectype = null; // 关闭是一定要置空 } //Game.inst.entityMgr.RemoveAll(); }
public bool CreateEctype(EctypeCreatContext data) { m_Ectype = new Ectype(); if (m_Ectype == null) { return(false); } if (!m_Ectype.Create(data)) { return(false); } // 启动副本 m_Ectype.Start(); return(true); }
public EctypeTeamAttacker(Ectype ectype) : base(ectype) { }
public EctypeLoader(Ectype owner) { m_owner = owner; }
public EctypeTeamDefender(Ectype ectype) : base(ectype) { }