recrownedgtk/RecrownedGTK/AssetsSystem/NormalContentResolver.cs

19 lines
610 B
C#
Raw Normal View History

2020-02-20 21:20:32 +00:00
namespace RecrownedGTK.AssetsSystem
2020-02-17 02:44:21 +00:00
{
/// <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;
}
}
}