示例#1
0
 public void DumpLosMap(string cmd, string[] split, int player)
 {
     bool[,] losmap = new bool[mapwidth / 2, mapheight / 2];
     for (int y = 0; y < mapheight / 2; y++)
     {
         for (int x = 0; x < mapwidth / 2; x++)
         {
             losmap[x, y] = (aicallback.GetCurrentFrame() - LastSeenFrameCount[x, y] < 6000);
         }
     }
     DrawingUtils.DrawMap(losmap);
 }
示例#2
0
 public void DumpBuildMap(string cmd, string[] split, int player)
 {
     DrawingUtils.DrawMap(SquareAvailable);
 }