Example #1
0
        public SnapLogician(Snapper <TSnap, TStatic, TPacker, TPackInfo> nents,
                            TAdvancerConfig config)
        {
            Nents          = nents;
            AdvancerConfig = config;

            NentDatas    = new ReArrayIdPool <SnapHistory <TSnap, TStatic> > [2];
            NentDatas[0] = nents.FirstData;
            NentDatas[1] = nents.SecondData;
        }
Example #2
0
        public SnapInLogician(SnapInputManager<TInput, TInputPacker> input, 
            Snapper<TSnap, TStatic, TPacker, TPackInfo> nents,
            TAdvancerConfig config)
        {
            Input = input;
            Nents = nents;
            AdvancerConfig = config;

            NentDatas = new ReArrayIdPool<SnapHistory<TSnap, TStatic>>[2];
            NentDatas[0] = nents.FirstData;
            NentDatas[1] = nents.SecondData;
        }