Exemplo n.º 1
0
        /// <summary>
        /// Allows the game to perform any initialization it needs to before starting to run.
        /// This is where it can query for any required services and load any non-graphic
        /// related content.  Calling base.Initialize will enumerate through any components
        /// and initialize them as well.
        /// </summary>
        protected override void Initialize()
        {
            // TODO: Add your initialization logic here

            Room tr = new TestRoom();

            StaticVars.CurrRoom   = tr;
            StaticVars.player     = new Protagonist();
            StaticVars.player.Loc = new Point(588, 696);
            StaticVars.adamenu    = new ADAMenu();
            new DerelictLaboratory.Room1();

            StaticVars.inst = this;

            PostProcessing.Init();

            Console.WriteLine("This Console Box is here for debug testing purposes ONLY!\n");

            base.Initialize();
        }
Exemplo n.º 2
0
        /// <summary>
        /// Allows the game to perform any initialization it needs to before starting to run.
        /// This is where it can query for any required services and load any non-graphic
        /// related content.  Calling base.Initialize will enumerate through any components
        /// and initialize them as well.
        /// </summary>
        protected override void Initialize()
        {
            // TODO: Add your initialization logic here

            Room tr = new TestRoom();
            StaticVars.CurrRoom = tr;
            StaticVars.player = new Protagonist();
            StaticVars.player.Loc = new Point(588, 696);
            StaticVars.adamenu = new ADAMenu();
            new DerelictLaboratory.Room1();

            StaticVars.inst = this;

            PostProcessing.Init();

            Console.WriteLine("This Console Box is here for debug testing purposes ONLY!\n");

            base.Initialize();
        }