コード例 #1
0
 public GameAsserter(GameTestConfiguration testConf,
                     List <Player.Models.Player> teamRed, List <Player.Models.Player> teamBlue, GM gameMaster)
 {
     this.testConf   = testConf;
     this.gameMaster = gameMaster;
     this.teamRed    = teamRed;
     this.teamBlue   = teamBlue;
 }
コード例 #2
0
ファイル: GameTest.cs プロジェクト: Rashair/TheProjectGame
 public GameTest()
 {
     tokenSource = new CancellationTokenSource();
     TestConf    = new GameTestConfiguration
     {
         CheckInterval = 4000,
         PositionNotChangedThreshold = 4,
         NoNewPiecesThreshold        = 5,
         MinimumRunTimeSec           = 30,
     };
 }