Lines Matching full:direction
326 var Direction = new Object(); variable
327 Direction.NONE = 0;
328 Direction.FORWARD = 1;
329 Direction.BACKWARD = -1;
339 this.direction = Direction.NONE;
352 … this.direction = (this.v1.mark != mark && Strength.stronger(this.strength, this.v2.walkStrength))
353 ? Direction.FORWARD
354 : Direction.NONE;
357 … this.direction = (this.v1.mark != mark && Strength.stronger(this.strength, this.v1.walkStrength))
358 ? Direction.BACKWARD
359 : Direction.NONE;
362 this.direction = Strength.stronger(this.strength, this.v1.walkStrength)
363 ? Direction.BACKWARD
364 : Direction.NONE;
366 this.direction = Strength.stronger(this.strength, this.v2.walkStrength)
367 ? Direction.FORWARD
368 : Direction.BACKWARD
378 this.direction = Direction.NONE;
385 return this.direction != Direction.NONE;
399 return (this.direction == Direction.FORWARD) ? this.v1 : this.v2;
406 return (this.direction == Direction.FORWARD) ? this.v2 : this.v1;
425 this.direction = Direction.NONE;
436 this.direction = Direction.NONE;
450 this.direction = Direction.NONE;
482 if (this.direction == Direction.FORWARD) {