namespace Wayne.Lib.StateEngine { /// /// Interface for State Factories. The factories are added to the state machine, and are used to /// create the actual state objects. The Wayne.Lib.StateEngine library does not provide any implementation /// for this interface, it must be implemented in each application. /// public interface IStateFactory { #region Properties /// /// 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); /// /// Name of the state facory. /// string Name { get; } #endregion } }