IGenericState.cs 447 B

123456789101112131415
  1. namespace Wayne.Lib.StateEngine.Generic
  2. {
  3. /// <summary>
  4. /// Common interface for all the generic state classes. It is used in the state factory
  5. /// code.
  6. /// </summary>
  7. /// <typeparam name="TMain"></typeparam>
  8. public interface IGenericState<TMain>
  9. {
  10. /// <summary>
  11. /// Writable main object. Only used in the state factory code.
  12. /// </summary>
  13. TMain WritableMain { get; set; }
  14. }
  15. }