Esempio n. 1
0
    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;
    }
Esempio n. 2
0
    public void CloseEctype()
    {
        if (m_Ectype != null)
        {
            m_Ectype.Close();
            m_Ectype = null;     // 关闭是一定要置空
        }

        //Game.inst.entityMgr.RemoveAll();
    }
Esempio n. 3
0
    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);
    }
Esempio n. 4
0
 public EctypeTeamAttacker(Ectype ectype)
     : base(ectype)
 {
 }
Esempio n. 5
0
 public EctypeLoader(Ectype owner)
 {
     m_owner = owner;
 }
Esempio n. 6
0
 public EctypeTeamDefender(Ectype ectype)
     : base(ectype)
 {
 }