move FilterBuilder to EntityComponentReader
parent
1d34defbfb
commit
82271e6b13
|
@ -4,6 +4,7 @@ public abstract class EntityComponentReader
|
||||||
{
|
{
|
||||||
internal EntityStorage EntityStorage;
|
internal EntityStorage EntityStorage;
|
||||||
internal ComponentDepot ComponentDepot;
|
internal ComponentDepot ComponentDepot;
|
||||||
|
protected FilterBuilder FilterBuilder => new FilterBuilder(ComponentDepot);
|
||||||
|
|
||||||
internal void RegisterEntityStorage(EntityStorage entityStorage)
|
internal void RegisterEntityStorage(EntityStorage entityStorage)
|
||||||
{
|
{
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
public abstract class System : EntityComponentReader
|
public abstract class System : EntityComponentReader
|
||||||
{
|
{
|
||||||
internal MessageDepot MessageDepot;
|
internal MessageDepot MessageDepot;
|
||||||
public FilterBuilder FilterBuilder => new FilterBuilder(ComponentDepot);
|
|
||||||
|
|
||||||
internal void RegisterMessageDepot(MessageDepot messageDepot)
|
internal void RegisterMessageDepot(MessageDepot messageDepot)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue