INode.cs 428 B

123456789101112131415161718192021
  1. namespace XGame.Framework.Nodes
  2. {
  3. /// <summary>
  4. /// Node接口
  5. /// </summary>
  6. public interface INode
  7. {
  8. /// <summary>
  9. /// 激活状态
  10. /// </summary>
  11. bool Active { get; }
  12. /// <summary>
  13. /// 激活
  14. /// </summary>
  15. void Enable(object intent = null);
  16. /// <summary>
  17. /// 隐藏
  18. /// </summary>
  19. void Disable();
  20. }
  21. }