public override void start()
        {
            backRender              = new RenderTarget2D(Game1.Self.GraphicsDevice, Game1.GameRactangle.Width, Game1.GameRactangle.Height);
            fundoControl            = new Objects.Objeto2D(Game1.Self.Content.Load <Texture2D>("fundoControl"));
            fundoControl.position.X = Game1.Self.Window.ClientBounds.Width / 2;
            fundoControl.position.Y = Game1.Self.Window.ClientBounds.Height / 2;

            line = new Objects.Line();

            heart             = new Objects.Heart();
            heart.decayFactor = 0.6f;
        }
Пример #2
0
        public override void start()
        {
            backRender = new RenderTarget2D(Game1.Self.GraphicsDevice, Game1.GameRactangle.Width, Game1.GameRactangle.Height);
            fundoControl = new Objects.Objeto2D(Game1.Self.Content.Load<Texture2D>("fundoControl"));
            fundoControl.position.X = Game1.Self.Window.ClientBounds.Width / 2;
            fundoControl.position.Y = Game1.Self.Window.ClientBounds.Height / 2;

            line = new Objects.Line();

            heart = new Objects.Heart();
            heart.decayFactor = 0.6f;
        }