Пример #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
            player = new Avatar(ScreenManager);
            player.Initialize();
            components.Add(player);

            staticEnvironment = new StaticEnvironment(ScreenManager, ScreenManager.Game, ScreenManager.Game.GraphicsDevice);
            staticEnvironment.Initialize();
            components.Add(staticEnvironment);

            //start SSVEP stimuli
            ssvep = new SSVEP(ScreenManager);
            ssvep.Initialize();
            ssvep.DrawOrder = 2;
            components.Add(ssvep);

            //Establish BCI2000 comm
            bciComm = new BCI2000comm(ScreenManager.Game);
            bciComm.Initialize();
            components.Add(bciComm);
        }
Пример #2
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);
        }
Пример #3
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);
        }
Пример #4
0
        /// <summary>
        /// Load and Initialize Game Components
        /// </summary>
        public override void LoadContent()
        {
            //Start New Game
            gameCore = new MapsCore(ScreenManager);
            gameCore.Initialize();
            gameCore.DrawOrder = 1;
            components.Add(gameCore);

            //start SSVEP stimuli
            ssvep = new SSVEP(ScreenManager);
            ssvep.Initialize();
            ssvep.DrawOrder = 2;
            components.Add(ssvep);

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