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