function Mind() { this.newRun = function() { }; this.getAction = function ( state ) { return ( 0 ); }; this.endRun = function() { }; }