recrownedgtk/RecrownedGTK/AssetsSystem/NormalContentResolver.cs

19 lines
610 B
C#
Raw Normal View History

2020-02-20 16:20:32 -05:00
namespace RecrownedGTK.AssetsSystem
2020-02-16 21:44:21 -05: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;
}
}
}