示例#1
0
 private void ClearPath()
 {
     foreach (TDTile tile in map.GetPath())
     {
         if (tile.GetTileType() != (int)TILE_TYPE.ENDPOINT)
         {
             SetTileTexture(tile, tile.GetOldTileType(), tile.GetX(), tile.GetY());
         }
     }
     map.ClearPath();
 }