IGenericState.cs 461 B

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