/// <summary> /// Creates organism from DNA /// </summary> /// <returns>Organism created from DNA</returns> public OrganismEntity CreateOrganism(Organisms.DNA dna, Physics.Common.Vector2 position = default(Physics.Common.Vector2)) { OrganismEntity organism = CreateEntity <OrganismEntity>(); organism.Organism = Simulation.CreateOrganism(dna, position); return(organism); }
public OrganismEntityRenderer(OrganismEntity entity) { Entity = entity; }