riversong code showcase
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace DanieleMarotta.RiversongCodeShowcase
|
||||
{
|
||||
public interface IEntityCollection
|
||||
{
|
||||
T Create<T>() where T : Entity, new();
|
||||
|
||||
void Add(Entity entity);
|
||||
|
||||
Entity Remove(int id);
|
||||
|
||||
bool Exists(int id);
|
||||
|
||||
Entity Get(int id);
|
||||
|
||||
Type GetEntityType(int id);
|
||||
|
||||
public List<Entity> GetInternalEntityList(Type type);
|
||||
|
||||
public IEntityCollectionCallbacks<T> On<T>() where T : Entity;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user