public Ant(double x, double y, string name, AntHill home) { this.home = home; this.x = x; this.y = y; double a = Math.PI * rnd.NextDouble(); Move(Math.Cos(a), Math.Sin(a)); Hp = 100; commands = new List <Command>(); this.name = name; }
public WorkerAnt(double x, double y, string name, AntHill home) : base(x, y, name, home) { OpenFoods = new List <Food>(); IsBringing = false; }