示例#1
0
文件: Ant.cs 项目: loophac/a-i-nts
 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
文件: Ant.cs 项目: loophac/a-i-nts
 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;
 }