protected override void LoadContent()
        {
            spriteBatch = new SpriteBatch(GraphicsDevice);

            // 64x64 size tex
            Cross = Content.Load<Texture2D>("ttt-cross");
            Circle = Content.Load<Texture2D>("ttt-circle");

            Board = new Grid(this, graphics, spriteBatch, gdata);
            Board.updateGrid(3, 3, 600, 600);
        }
 public Maze2D(Game game, Grid _grid, Texture2D _texture)
 {
     this.game = game;
     grid = _grid;
     texture = _texture;
 }
        protected override void LoadContent()
        {
            spriteBatch = new SpriteBatch(GraphicsDevice);

            texture = new Texture2D(graphics.GraphicsDevice, 1, 1);
            texture.SetData(new Color[] { Color.White });

            Ingrid = new Grid(this, graphics, spriteBatch, g_data);

            osdfont = Content.Load<SpriteFont>("osd");
        }
        protected override void LoadContent()
        {
            spriteBatch = new SpriteBatch(GraphicsDevice);

            osdfont = Content.Load<SpriteFont>("osd");

            gdata.offsetx = 100;
            gdata.offsety = 80;
            gdata.gridthicknessH = 1;
            gdata.gridthicknessV = 1;
            gdata.tilesizeH = 10;
            gdata.tilesizeV = 10;

            Ingrid = new Grid(this, graphics, spriteBatch, gdata);

            dmaze = new Maze2D(this, Ingrid, Ingrid.texture);
        }