Example #1
0
    protected override void registLogics()
    {
        pos = createPosLogic();
        addLogic(pos);

        show = createShowLogic();
        addLogic(show);
    }
Example #2
0
        protected override BulletShowLogic createShowLogic()
        {
            if (!_g8)
            {
                _m8 = instance.Type.GetMethod("createShowLogic", 0);
                _g8 = true;
            }

            if (_m8 != null && !_b8)
            {
                _b8 = true;
                BulletShowLogic re = (BulletShowLogic)appdomain.Invoke(_m8, instance, null);
                _b8 = false;
                return(re);
            }
            else
            {
                return(base.createShowLogic());
            }
        }