Files
riversong-code-showcase/Source/Riversong/Game/CommonServices/Entities/EntityCache/IEntityCache.cs
2026-05-21 16:04:49 +02:00

16 lines
350 B
C#

using System;
using System.Collections.Generic;
namespace DanieleMarotta.RiversongCodeShowcase
{
public interface IEntityCache
{
void CreateCache<T>(int key, Predicate<T> filter) where T : Entity;
List<T> Get<T>(int key) where T : Entity;
void OnAdded(Entity entity);
void OnRemoved(Entity entity);
}
}