// Going to ignore this function Mind() { this.newRun = function() { }; this.getAction = function(a) { return 0; }; this.endRun = function() { }; }