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

        show = createShowLogic();
        addLogic(show);
    }
Beispiel #2
0
        protected override BulletPosLogic createPosLogic()
        {
            if (!_g7)
            {
                _m7 = instance.Type.GetMethod("createPosLogic", 0);
                _g7 = true;
            }

            if (_m7 != null && !_b7)
            {
                _b7 = true;
                BulletPosLogic re = (BulletPosLogic)appdomain.Invoke(_m7, instance, null);
                _b7 = false;
                return(re);
            }
            else
            {
                return(base.createPosLogic());
            }
        }