summaryrefslogtreecommitdiff
path: root/src/SMAPI/IAssetDataForMap.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-04-17 22:12:17 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-04-17 22:12:17 -0400
commita8a4d314dff1f80970090e9d364f36e787df73d6 (patch)
treea6e37afe98d1df136a99fae69273234b79a73daa /src/SMAPI/IAssetDataForMap.cs
parentb25e30a896cd7ed65d02db7d8639cd28a11981f0 (diff)
downloadSMAPI-a8a4d314dff1f80970090e9d364f36e787df73d6.tar.gz
SMAPI-a8a4d314dff1f80970090e9d364f36e787df73d6.tar.bz2
SMAPI-a8a4d314dff1f80970090e9d364f36e787df73d6.zip
simplify ExtendMap usage
Diffstat (limited to 'src/SMAPI/IAssetDataForMap.cs')
-rw-r--r--src/SMAPI/IAssetDataForMap.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/SMAPI/IAssetDataForMap.cs b/src/SMAPI/IAssetDataForMap.cs
index 19bdf3b2..dcc7135d 100644
--- a/src/SMAPI/IAssetDataForMap.cs
+++ b/src/SMAPI/IAssetDataForMap.cs
@@ -17,10 +17,9 @@ namespace StardewModdingAPI
void PatchMap(Map source, Rectangle? sourceArea = null, Rectangle? targetArea = null, PatchMapMode patchMode = PatchMapMode.Overlay);
/// <summary>Extend the map if needed to fit the given size. Note that this is an expensive operation and resizes the map in-place.</summary>
- /// <param name="map">The map to resize.</param>
/// <param name="minWidth">The minimum map width in tiles.</param>
/// <param name="minHeight">The minimum map height in tiles.</param>
/// <returns>Whether the map was resized.</returns>
- bool ExtendMap(Map map, int minWidth, int minHeight);
+ bool ExtendMap(int minWidth = 0, int minHeight = 0);
}
}