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); }
public void DumpBuildMap(string cmd, string[] split, int player) { DrawingUtils.DrawMap(SquareAvailable); }