Exemplo n.º 1
0
        /// <summary>
        /// Load and Initialize Game Components
        /// </summary>
        public override void LoadContent()
        {
            DepthStencilState depthState = new DepthStencilState();

            depthState.DepthBufferEnable      = true;
            depthState.DepthBufferWriteEnable = true;
            ScreenManager.GraphicsDevice.DepthStencilState = depthState;


            //Start New Game
            ringAppCore = new RingAppCore(ScreenManager);
            ringAppCore.Initialize();
            ringAppCore.DrawOrder = 1;
            components.Add(ringAppCore);

            //start Ring stimuli
            ringStim = new RingStimulator(ScreenManager);
            ringStim.Initialize();
            ringStim.DrawOrder = 2;
            components.Add(ringStim);

            //Establish BCI2000 comm
            bciComm = new BCI2000comm(ScreenManager.Game);
            bciComm.Initialize();
            components.Add(bciComm);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Load and Initialize Game Components
        /// </summary>
        public override void LoadContent()
        {
            // android app core
            androidApp = new AndroidAppCore(ScreenManager);
            androidApp.Initialize();
            androidApp.DrawOrder = 1;
            components.Add(androidApp);

            //start Ring stimuli
            ringStim = new RingStimulator(ScreenManager);
            ringStim.Initialize();
            ringStim.DrawOrder = 2;
            components.Add(ringStim);

            //Establish BCI2000 comm
            bciComm = new BCI2000comm(ScreenManager.Game);
            bciComm.Initialize();
            components.Add(bciComm);
        }