public FuSMApproach(AICompanion agent)
     : base(agent)
 {
     this.agent    = agent;
     weight        = Constants.tileSize * 4;
     approachRange = Constants.tileSize * 8;
 }
Exemple #2
0
 public FuSMDefault(AICompanion agent)
     : base(agent)
 {
     this.agent       = agent;
     rand             = new Random();
     minDistance      = Constants.tileSize * 1.5f;
     activationWeight = Constants.tileSize * 100;
 }
 public FuSMAttack(AICompanion agent)
     : base(agent)
 {
     this.agent = agent;
     shotRange  = Constants.tileSize * 5;
 }
Exemple #4
0
 public FuSMState(AICompanion agent)
 {
     this.agent           = agent;
     this.activationLevel = 0.0001f;
 }
Exemple #5
0
 public FuSMEvade(AICompanion agent)
     : base(agent)
 {
     this.agent = agent;
     evadeRange = Constants.tileSize * 2;
 }