internal Entity(EntityWorld world, EntityFactory factory) : this(world) { Factory = factory; }
public EntityFilter(EntityWorld world, Predicate <Entity> pred) { world.filters.Add(this); predicate = pred; }
/// <summary> /// Initializes a new instance of the <see cref="Entity"/> class in the given <see cref="EntityWorld"/>. /// </summary> /// <param name="world">The <see cref="EntityWorld"/> that this <see cref="Entity"/> resides in.</param> public Entity(EntityWorld world) { World = world; }