namespace Wayne.Lib.StateEngine
{
///
/// Interface to a State factory, that can use the State Type Container
///
public interface IStateFactory2 : IStateFactory
{
///
/// Create a state object from the specified State name.
///
/// Name of the state to be created.
///
/// If successful, it returns the object for the state name. If it not was found, it returns null.
State CreateState(string stateFactoryName, StateTypeContainer stateTypeContainer);
}
}