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; }
internal Evaluator(MindSet mind) { Mind = mind; }
internal Parser(MindSet mind) { _mind = mind; }
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; }