Example #1
0
 /// <summary>
 /// Determines whether is walkable to any unit, i.e. if at least one of the defined special attributes will make the cell resolve as walkable.
 /// </summary>
 /// <param name="cell">The cell.</param>
 /// <returns><c>true</c> if walkable to any units, otherwise <c>false</c></returns>
 public static bool IsWalkableToAny(this IGridCell cell)
 {
     return(cell.isWalkable(AttributeMask.All));
 }