recrownedgtk/RecrownedGTK/src/AssetsSystem/IAssetPathResolver.cs
2020-02-20 16:20:32 -05:00

16 lines
501 B
C#

namespace RecrownedGTK.AssetsSystem
{
/// <summary>
/// Modifies the given path based on a name. Used to simplify long paths for the <see cref="AssetManager"/>
/// </summary>
public interface IAssetPathResolver
{
/// <summary>
/// Returns the complete path with the content folder as root.
/// </summary>
/// <param name="contentPath">Is the asset's name</param>
/// <returns></returns>
string Modify(string contentPath);
}
}