Exemple #1
0
 internal Entity(EntityWorld world, EntityFactory factory) : this(world)
 {
     Factory = factory;
 }
Exemple #2
0
 public EntityFilter(EntityWorld world, Predicate <Entity> pred)
 {
     world.filters.Add(this);
     predicate = pred;
 }
Exemple #3
0
 /// <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;
 }