예제 #1
0
파일: Game.cs 프로젝트: hoge8086/MiniShogi
 private Game(Board board, GameState state, CustomRule rule, GameRecord record)
 {
     Board  = board;
     State  = state;
     Rule   = rule;
     Record = record;
 }
예제 #2
0
파일: Game.cs 프로젝트: hoge8086/MiniShogi
 public Game(Board board, GameState state, CustomRule rule)
 {
     Board            = board;
     State            = state;
     Rule             = rule;
     Record           = new GameRecord(State);
     State.GameResult = CreateGameResult();
 }