github.com/hobbeswalsh/terraform@v0.3.7-0.20150619183303-ad17cf55a0fa/website/source/assets/javascripts/app/Engine.Polygon.Puller.js (about)

     1  (function(
     2  	Engine,
     3  	Vector
     4  ){
     5  
     6  Engine.Polygon.Puller = function(a, b, c, color, simple){
     7  	this.a = a;
     8  	this.b = b;
     9  	this.c = c;
    10  
    11  	this.strokeStyle = '#ffffff';
    12  };
    13  
    14  Engine.Polygon.Puller.prototype = {
    15  
    16  	checkChasing: function(){
    17  		if (
    18  			this.a._chasing === true &&
    19  			this.b._chasing === true &&
    20  			this.c._chasing === true
    21  		) {
    22  			return true;
    23  		}
    24  		return false;
    25  	}
    26  
    27  };
    28  
    29  })(window.Engine, window.Vector);