示例#1
0
        protected override void UnloadData()
        {
            base.UnloadData();

            m_thread.StopAndJoin();
            m_thread = null;

            m_botCollection = null;
        }
示例#2
0
        protected override void UnloadData()
        {
            base.UnloadData();

            m_thread.StopAndJoin();
            m_thread = null;

            m_botCollection = null;
        }
示例#3
0
        public override void LoadData()
        {
            base.LoadData();

            Sync.Players.NewPlayerRequestSucceeded += PlayerCreated;
            Sync.Players.LocalPlayerRemoved        += PlayerRemoved;

            m_botCollection = new MyBotCollection();

            m_thread = new MyAIThread(m_botCollection);
            m_thread.Start();
        }
示例#4
0
        public override void LoadData()
        {
            base.LoadData();

            Sync.Players.NewPlayerRequestSucceeded += PlayerCreated;
            Sync.Players.LocalPlayerRemoved += PlayerRemoved;

            m_botCollection = new MyBotCollection();

            m_thread = new MyAIThread(m_botCollection);
            m_thread.Start();
        }