Ejemplo n.º 1
0
        public void Initialize(ContentManager content, Game game)
        {
            this.content = content;

            background.Color = Color.White;
            background.Initialize();
            background.Position = new Vector2(0f, 0f);
            background.Layer    = 0f;
            background.Size     = new Vector2(800f, 600f);
            background.Source   = new Rectangle(0, 0, 800, 600);

            banner.Color = Color.White;
            banner.Initialize();
            banner.Position = new Vector2(0f, 60f);
            banner.Layer    = 0.5f;
            banner.Size     = new Vector2(800f, 100f);
            banner.Source   = new Rectangle(0, 0, 800, 100);


            play.Initialize(new Vector2(225f, 300f));
            options.Initialize(new Vector2(225f, 350f));
            help.Initialize(new Vector2(225f, 400f));
            quit.Initialize(new Vector2(225f, 450f));
        }