Esempio n. 1
0
 void Start()
 {
     searching   = true;
     anim        = GetComponent <Animator>();
     agent       = GetComponent <NavMeshAgent>();
     destination = agent.destination;
     mind        = MindSet.atEase;
     Sensefield();
     Mind();
     RandomPos();
     thinkTimer = Random.Range(mintimer, maxtimer);
     goal       = Goal.wandering;
     // PlayerVitals
     hungerAmount = GetComponent <PlayerVitals>().hungerSlider;
     hungermax    = GetComponent <PlayerVitals>().maxHunger;
     thirstAmount = GetComponent <PlayerVitals>().thirstSlider;
     thirstmax    = GetComponent <PlayerVitals>().maxThirst;
 }
Esempio n. 2
0
 internal Evaluator(MindSet mind)
 {
     Mind = mind;
 }
Esempio n. 3
0
 internal Parser(MindSet mind)
 {
     _mind = mind;
 }
Esempio n. 4
0
 public Fighter(string name, int hitpoints, int power, Weapon weapon, int position, MindSet mindset, bool leader)
 {
     this.name = name;
     this.hitpoints = hitpoints;
     this.power = power;
     this.weapon = weapon;
     this.position = position;
     this.mindset = mindset;
     this.leader = leader;
 }