Esempio n. 1
0
 /// <summary>Get all tiles which are on-screen.</summary>
 /// <param name="expand">The number of tiles to expand in each direction, to avoid tile edge pop-in.</param>
 public static IEnumerable <Vector2> GetVisibleTiles(int expand = 0)
 {
     return(TileHelper.GetVisibleArea(expand).GetTiles());
 }
Esempio n. 2
0
 /// <summary>Get all tiles which are on-screen.</summary>
 public static IEnumerable <Vector2> GetVisibleTiles()
 {
     return(TileHelper.GetVisibleArea().GetTiles());
 }