files arranged using assembly defn
This commit is contained in:
15
Assets/DarkMatter/Code/Core/Contracts/IPool.cs
Normal file
15
Assets/DarkMatter/Code/Core/Contracts/IPool.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
|
||||
using Codice.Client.Common;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Darkmatter.Core
|
||||
{
|
||||
public interface IPool <T>
|
||||
{
|
||||
IReadOnlyCollection<T> All { get; }
|
||||
void ReturnToPool(T obj);
|
||||
|
||||
T GetFromPool();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user