13 lines
278 B
C#
13 lines
278 B
C#
using System.Collections.Generic;
|
|
|
|
namespace DanieleMarotta.RiversongCodeShowcase
|
|
{
|
|
public interface IGameDatabase
|
|
{
|
|
void Add<T>(int id, T asset) where T : class;
|
|
|
|
T WithId<T>(int id) where T : class;
|
|
|
|
List<T> OfType<T>() where T : class;
|
|
}
|
|
} |