예제 #1
0
 public GameTask(TbGameSpec spec, PlayerSpec[] playerSpecs)
 {
     _playerSpecs = playerSpecs;
     _spec        = spec;
     _playerNames = playerSpecs.Select(ps => ps.PlayerName).ToArray();
 }
예제 #2
0
 public AsyncCpuPlayer(AsyncPlayer <TbVisible, TbAction> p, TbGameSpec spec)
 {
     _policy = TbAiPlayerModule.createPolicy(spec, p.Name).Invoke;
     _p      = p;
 }