public static SymAgent Create(string specie, VectorCreature vector, float phase = 0) { SymAgent sym = new SymAgent(specie, vector, phase); if (!All.ContainsKey(specie)) { All[specie] = new List <SymAgent>(); } All[specie].Add(sym); return(sym); }
private SymAgent(string species, VectorCreature vector, float phase = 0) { this.vector = vector; this.species = species; this.lifetime = phase; }