forked from aedenthorn/StardewValleyMods
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
60e602f
commit 3e3799a
Showing
5 changed files
with
112 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
using Microsoft.Xna.Framework; | ||
using StardewValley; | ||
using System.Collections.Generic; | ||
using xTile.Tiles; | ||
using xTile.Layers; | ||
|
||
namespace DynamicMapTiles | ||
{ | ||
public interface IDynamicMapTilesApi | ||
{ | ||
public bool PushTiles(GameLocation location, List<(Point, Tile)> tiles, int dir, Farmer farmer); | ||
public bool TriggerActions(List<Layer> layers, Farmer farmer, Point tilePos, List<string> suffixes); | ||
} | ||
public class DynamicMapTilesApi : IDynamicMapTilesApi | ||
{ | ||
public bool PushTiles(GameLocation location, List<(Point, Tile)> tiles, int dir, Farmer farmer) | ||
public bool TriggerActions(List<Layer> layers, Farmer farmer, Point tilePos, List<string> suffixes) | ||
{ | ||
return ModEntry.PushTiles(location, tiles, dir, farmer); | ||
return ModEntry.TriggerActions(layers, farmer, tilePos, suffixes); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters