You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
zeus/tools/Fluid-HTN/DomainBuilder.cs

24 lines
819 B
C#

using FluidHTN.Factory;
namespace FluidHTN
{
/// <summary>
/// A simple domain builder for easy use when one just need the core functionality
/// of the BaseDomainBuilder. This class is sealed, so if you want to extend the
/// functionality of the domain builder, extend BaseDomainBuilder instead.
/// </summary>
/// <typeparam name="T"></typeparam>
public sealed class DomainBuilder<T> : BaseDomainBuilder<DomainBuilder<T>, T>
where T : IContext
{
// ========================================================= CONSTRUCTION
public DomainBuilder(string domainName) : base(domainName, new DefaultFactory())
{
}
public DomainBuilder(string domainName, IFactory factory) : base(domainName, factory)
{
}
}
}