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