Пример #1
0
        public override void vmethod_1()
        {
            Texture2D texture2D_1 = this.contentManager_0.Load <Texture2D>("Images/uiHelpKeyboard");

            this.gclass141_1   = new GClass141(texture2D_1, new Microsoft.Xna.Framework.Rectangle(0, GClass138.graphicsDeviceManager_0.PreferredBackBufferHeight - texture2D_1.Height, texture2D_1.Width, texture2D_1.Height));
            this.soundEffect_1 = this.contentManager_0.Load <SoundEffect>("cursorMove");
            this.soundEffect_2 = this.contentManager_0.Load <SoundEffect>("cursorOk");
            this.video_0       = this.contentManager_0.Load <Video>("bgVid");
            this.spriteFont_0  = this.contentManager_0.Load <SpriteFont>("base");
            this.texture2D_0   = this.contentManager_0.Load <Texture2D>("Images/bgTest");
            this.texture2D_5   = this.contentManager_0.Load <Texture2D>("Images/videoBg");
            this.texture2D_3   = this.contentManager_0.Load <Texture2D>("Images/rectangleText");
            this.texture2D_4   = this.contentManager_0.Load <Texture2D>("Images/sel");
            this.gclass142_0   = new GClass142(this.video_0)
            {
                IsLooping = true
            };
            this.int_5       = (GClass138.graphicsDeviceManager_0.PreferredBackBufferHeight - 5 * (128 + this.int_3)) / 2;
            this.int_6       = (GClass138.graphicsDeviceManager_0.PreferredBackBufferWidth - 10 * (128 + this.int_3)) / 2;
            this.texture2D_2 = new Texture2D(GClass138.graphicsDevice_0, 1, 1);
            this.texture2D_2.SetData <Microsoft.Xna.Framework.Color>(new Microsoft.Xna.Framework.Color[1]
            {
                Microsoft.Xna.Framework.Color.Black
            });
            Vector2 vector2 = this.method_13(0, 0);

            this.gclass143_0.Cursor = new GClass141(this.texture2D_4, new Microsoft.Xna.Framework.Rectangle((int)vector2.X - this.int_8 / 2, (int)vector2.Y - this.int_8 / 2, this.int_8, this.int_8));
            this.gclass143_0.method_5(new Microsoft.Xna.Framework.Rectangle((int)vector2.X - this.int_8 / 2, (int)vector2.Y - this.int_8 / 2, this.int_8, this.int_8));
            this.gclass143_0.Cursor.method_1(new GClass137(new GClass134(1.0, 1.1, 250.0)
            {
                IsLooping = true
            }, "Scale"));
            this.method_9();
            base.vmethod_1();
        }
Пример #2
0
 public override void vmethod_1()
 {
     this.video_0              = this.contentManager_0.Load <Video>("splash");
     this.gclass142_0          = new GClass142(this.video_0);
     this.gclass142_0.Event_1 += (EventHandler)((sender, e) =>
     {
         this.method_7();
         this.method_6(this.gclass138_0);
     });
     this.gclass143_0.method_0((GClass140)this.gclass142_0);
     base.vmethod_1();
 }