コード例 #1
0
ファイル: Game1.cs プロジェクト: ngapham/ChessGame
        protected override void LoadContent()
        {
            spriteBatch = new SpriteBatch(GraphicsDevice);

            test = Content.Load<SpriteFont>("Test");
            game = new GameControl(spriteBatch); // Khoi tao bien Board
            game.LoadContent(Content);

            game.newGame();
        }
コード例 #2
0
ファイル: Menu.cs プロジェクト: ngapham/ChessGame
 public Menu(SpriteBatch _sp,GameControl _gc)
 {
     this.sp = _sp;
     this.gamecontrol = _gc;
 }