riversong code showcase
This commit is contained in:
13
Source/Engine/GameData/IGameDatabase.cs
Normal file
13
Source/Engine/GameData/IGameDatabase.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user