public Pheromon(Point loc, MotherNature.PheromonTypes pherotype, Colony col) { location = loc; pheromontype = pherotype; colony = col; birthday = col.World().universaltime.Elapsed; }
public Ant(Point location, Point speed, Colony colony) { Location = location; Speed = speed; MyColony = colony; id = ++lastid; fullname = colony.GetType().Name + this.GetType().Name + id; certificate = colony.World().GetBirthCertificate(fullname); energy = MotherNature.MAX_ENERGY; }