(function() { "use strict"; var FlockComponent = function() { this.initialize(); } var p = FlockComponent.prototype = new creatine.Component(); p.name = 'Flock' p.initialize = function() { this.velocityX = 0.0; this.velocityY = 0.0; this.state = FLOCK_STATE_IDLE; this.dead = false; this.timeToForgetDog = 0.0; this.timeToForgetEnemy = 0.0; // this.velocity = new createjs.Point(0, 0); // this.rotationVelocity = 0.0; // this.acceleration = new createjs.Point(0, 0); } window.FlockComponent = FlockComponent; })();