IPoolable.cs 273 B

123456789101112
  1. using System;
  2. namespace MonoGame.Extended.Collections
  3. {
  4. public interface IPoolable
  5. {
  6. IPoolable NextNode { get; set; }
  7. IPoolable PreviousNode { get; set; }
  8. void Initialize(Action<IPoolable> returnDelegate);
  9. void Return();
  10. }
  11. }