Esempio n. 1
0
        public void CleanUp()
        {
            if (!initialized)
            {
                return;
            }

            match_data = null;
        }
Esempio n. 2
0
        public void Init(Match.LogicMatchData match_data)
        {
            if (initialized)
            {
                return;
            }

            this.match_data = match_data;

            if (this.match_data == null)
            {
                return;
            }

            initialized = true;
        }
Esempio n. 3
0
        public void InitLocalLogic(LogicCluster cluster)
        {
            if (cluster == null)
            {
                return;
            }

            local_cluster = cluster;
            local_cluster.OnOutputCommandSent.Subscribe(OnOutputCommandReceived);

            Match.LogicMatchData data = InitLocalLogicInternal();

            if (data == null)
            {
                return;
            }

            local_cluster.Init(data);
        }