Пример #1
0
 public Ant(Main game, bool active)
     : base(game, active)
 {
     hungry = 0;
     life = ConstantsHolder.Singleton.LifeMax;
     pheromonesTick = 0;
     Origin = new Vector2(8, 7);
     choicePheromones = new Aints.Behaviours.AntBehaviourFollowPheromone(game, this, false);
     // make sure it loads and draws
     DrawOrder = 50;
     UpdateOrder = 50;
 }
Пример #2
0
 public Ant(Main game, bool active)
     : base(game, active)
 {
     hungry           = 0;
     life             = ConstantsHolder.Singleton.LifeMax;
     pheromonesTick   = 0;
     Origin           = new Vector2(8, 7);
     choicePheromones = new Aints.Behaviours.AntBehaviourFollowPheromone(game, this, false);
     // make sure it loads and draws
     DrawOrder   = 50;
     UpdateOrder = 50;
 }