Beispiel #1
0
        //-----------------------------------------------------------------------
        public override object CreateGlobal()
        {
            WiimotePluginGlobal[] plugins = new WiimotePluginGlobal[MAX_WIIMOTES];
             for (int i=0; i<MAX_WIIMOTES; i++) {
            plugins[i] = new WiimotePluginGlobal(this, i);
             }

             return plugins;
        }
Beispiel #2
0
        //-----------------------------------------------------------------------
        public override object CreateGlobal()
        {
            WiimotePluginGlobal[] plugins = new WiimotePluginGlobal[MAX_WIIMOTES];
            for (int i = 0; i < MAX_WIIMOTES; i++)
            {
                plugins[i] = new WiimotePluginGlobal(this, i);
            }

            return(plugins);
        }