enemy spawner
This commit is contained in:
9
Game/Scripts/Runtime/Abstractions/IPool.cs
Normal file
9
Game/Scripts/Runtime/Abstractions/IPool.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
namespace Game.Scripts.Runtime.Abstractions
|
||||
{
|
||||
public interface IPool<TKey, TValue>
|
||||
{
|
||||
void Prewarm(TKey key, int count);
|
||||
TValue Get(TKey key);
|
||||
void Release(TKey key, TValue value);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user