(function() { "use strict"; var PredatorComponent = function() { this.initialize(); } var p = PredatorComponent.prototype = new creatine.Component(); p.name = 'Predator'; p.initialize = function() { this.target = null; this.spawnX = 0; this.spawnY = 0; this.state = PREDATOR_STATE_FOLLOWTARGET; } window.PredatorComponent = PredatorComponent; })();