Ejemplo n.º 1
0
        public virtual void LoadContent()
        {
            _pixel    = FingerGames.Instance.Content.Load <Texture2D>(@"Textures\pixel");
            _menuFont = FingerGames.Instance.Content.Load <SpriteFont>(@"Fonts\MenuFont");

            _resumeButton        = new XnaButton(new Rectangle(0, 0, 800, 480));
            _resumeButton.Text   = "Tap Screen to Resume...";
            _resumeButton.Click += new EventHandler(_resumeButton_Click);

            _scoreCenter                  = new XnaScoreCenter();
            _scoreCenter.Bounds           = new Rectangle(0, 0, 800, 480);
            _scoreCenter.ContinueClicked += new EventHandler(_scoreCenter_ContinueClicked);

            this.Assets.Add(_pixel);
        }
Ejemplo n.º 2
0
        public virtual void LoadContent()
        {
            _pixel = FingerGames.Instance.Content.Load<Texture2D>(@"Textures\pixel");
            _menuFont = FingerGames.Instance.Content.Load<SpriteFont>(@"Fonts\MenuFont");

            _resumeButton = new XnaButton(new Rectangle(0, 0, 800, 480));
            _resumeButton.Text = "Tap Screen to Resume...";
            _resumeButton.Click += new EventHandler(_resumeButton_Click);

            _scoreCenter = new XnaScoreCenter();
            _scoreCenter.Bounds = new Rectangle(0, 0, 800, 480);
            _scoreCenter.ContinueClicked += new EventHandler(_scoreCenter_ContinueClicked);

            this.Assets.Add(_pixel);
        }