private DiscoverTerrain ( Vector2 worldIndex ) : void | ||
worldIndex | Vector2 | |
return | void |
private void DiscoverTerrain(Vector2 worldIndex)
{
List<Vector2> terrainToAffect = GetSurroundingWorldIndexPositions(worldIndex);
foreach (Vector2 index in terrainToAffect)
Tiles[(int)index.X, (int)index.Y].IsExploredByPlayer = true;
}