recrownedgtk/RecrownedGTK/src/Assets/NormalContentResolver.cs

19 lines
604 B
C#
Raw Normal View History

2020-02-17 02:44:21 +00:00
namespace RecrownedGTK.Assets
{
/// <summary>
/// A resolver that does nothing. Used for looking in the root by default.
/// </summary>
public class NormalAssetPathResolver : IAssetPathResolver
{
/// <summary>
/// Passes the path through without modification as this is the normal content resolver and is meant to just pass things on.
/// </summary>
/// <param name="contentPath">The path to modify.</param>
/// <returns></returns>
public string Modify(string contentPath)
{
return contentPath;
}
}
}