public SoldierAnt(Point location, Point speed, RedColony colony) : base(location, speed, colony) { charging = true; Random r = new Random(); System.Drawing.Point pt = new System.Drawing.Point(Convert.ToInt32(MyColony.Location.X), Convert.ToInt32(MyColony.Location.Y)); pointOfAction = new Point(MyColony.Location.X + r.Next(-100, 300), MyColony.Location.Y + r.Next(-100, 300)); }
public ScoutAnt(Point location, Point speed, RedColony colony) : base(location, speed, colony) //Setup { GeneratePosition(); //Génération d'une destination aléatoire }
public WorkerAnt(Point location, Point speed, RedColony colony) : base(location, speed, colony) { }