public Entity(params IComponent[] components)
 {
     Id = Guid.NewGuid();
     foreach (IComponent component in components)
     {
         EntityInfrastructureManager.AddComponent(this, component);
     }
     EntityInfrastructureManager.AddEntity(this);
 }
 public Entity(Guid Id)
 {
     this.Id = Id;
     EntityInfrastructureManager.AddEntity(this);
 }
 public Entity()
 {
     Id = Guid.NewGuid();
     EntityInfrastructureManager.AddEntity(this);
 }