Ejemplo n.º 1
0
        protected override void LoadContent()
        {
            this.cursor = new CursorSheet(this.Content.Load <Texture2D>("Cursor"));

            SpriteFont font = this.Content.Load <SpriteFont>("ArialFont");

            this.endlessEasy   = new ButtonSprite(this.button, new Vector2(MainGame.WindowCenter.X, MainGame.WindowCenter.Y - 150), font, "Endless Easy");
            this.endlessNormal = new ButtonSprite(this.button, new Vector2(MainGame.WindowCenter.X, MainGame.WindowCenter.Y), font, "Endless Normal");
            this.endlessHard   = new ButtonSprite(this.button, new Vector2(MainGame.WindowCenter.X, MainGame.WindowCenter.Y + 150), font, "Endless Hard");
        }
Ejemplo n.º 2
0
        protected override void LoadContent()
        {
            this.cursor = new CursorSheet(this.Content.Load <Texture2D>("Cursor"));

            this.arialFont = this.Content.Load <SpriteFont>("ArialFont");
        }