Пример #1
0
 public GOAPAction(string name, int cost, StateDrivenBrain.TacticalStates moveToState)
 {
     this.name        = name;
     this.moveToState = moveToState;
     this.cost        = cost;
     preConditions    = new WorldState();
     effects          = new WorldState();
 }
Пример #2
0
 public GoToTent(string name, int cost, StateDrivenBrain brain, StateDrivenBrain.TacticalStates moveToState) : base(name, cost, brain, moveToState)
 {
 }
Пример #3
0
 public PickupNails(string name, int cost, StateDrivenBrain brain, StateDrivenBrain.TacticalStates moveToState) : base(name, cost, brain, moveToState)
 {
 }
Пример #4
0
 public AttackWithGun(string name, int cost, StateDrivenBrain brain, StateDrivenBrain.TacticalStates moveToState) : base(name, cost, brain, moveToState)
 {
     angleOffset = -20f;
 }
Пример #5
0
 public getInRangeOfPlayer(string name, int cost, StateDrivenBrain brain, StateDrivenBrain.TacticalStates moveToState) : base(name, cost, brain, moveToState)
 {
     angleOffset       = -20f;
     perceptionManager = GameObject.FindGameObjectWithTag(Tags.GameController).GetComponent <PerceptionManager>();
 }
Пример #6
0
 public Action(string name, int cost, StateDrivenBrain brain, StateDrivenBrain.TacticalStates moveToState) : base(name, cost, moveToState)
 {
     this.brain  = brain;
     angleOffset = 0f;
 }
Пример #7
0
 public buildHouse(string name, int cost, StateDrivenBrain brain, StateDrivenBrain.TacticalStates moveToState) : base(name, cost, brain, moveToState)
 {
 }