示例#1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="parentBot"></param>
 public GameTracker(VTankBot parentBot)
 {
     players              = new Dictionary <int, MetaPlayer>();
     projectiles          = new Dictionary <int, MetaProjectile>();
     bot                  = parentBot;
     PathfindingAlgorithm = new PathAlgorithms.AStarAlgorithm();
 }
示例#2
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="parentBot"></param>
 public GameTracker(VTankBot parentBot)
 {
     players = new Dictionary<int, MetaPlayer>();
     projectiles = new Dictionary<int, MetaProjectile>();
     bot = parentBot;
     PathfindingAlgorithm = new PathAlgorithms.AStarAlgorithm();
 }
示例#3
0
 static PathFinder()
 {
     Algorithm = new AStarAlgorithm();
 }