コード例 #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();
        }