示例#1
0
        public BTNodeFloatEnergy(BlackBoard blackboard, float valueToCheck, CompareEnum comparer)
        {
            this.comparer   = comparer;
            this.blackboard = blackboard;

            this.valueToCheck = valueToCheck;
        }
示例#2
0
 public Bash(BlackBoard blackBoard)
 {
     this.blackBoard = blackBoard;
 }
 public GunHeadingForward(BlackBoard blackBoard)
 {
     this.blackBoard = blackBoard;
 }
示例#4
0
 public TurnGunShoot(BlackBoard blackBoard)
 {
     this.blackBoard = blackBoard;
 }
示例#5
0
 public ScanRobot(BlackBoard blackBoard, float scanDegrees)
 {
     this.blackBoard  = blackBoard;
     this.scanDegrees = scanDegrees;
 }
 public InRange(BlackBoard blackBoard, float maxRange)
 {
     this.maxRange   = maxRange;
     this.blackBoard = blackBoard;
 }
示例#7
0
 public Turn(BlackBoard blackBoard, float degrees)
 {
     this.degrees    = degrees;
     this.blackBoard = blackBoard;
 }
 public SetColor(BlackBoard blackBoard, Color color)
 {
     this.color      = color;
     this.blackBoard = blackBoard;
 }
示例#9
0
 public Shoot(BlackBoard blackBoard, float power)
 {
     this.power      = power;
     this.blackBoard = blackBoard;
 }
 public MoveAhead(BlackBoard blackBoard, int moveDistance)
 {
     this.blackBoard   = blackBoard;
     this.moveDistance = moveDistance;
 }
示例#11
0
 public Selector(BlackBoard blackBoard, params BTNode[] input)
 {
     base.blackBoard = blackBoard;
     inputNodes      = input;
 }
 public Sequence(BlackBoard blackBoard, params BTNode[] input)
 {
     base.blackBoard = blackBoard;
     inputNodes      = input;
 }