function World() { this.newRun = function() { // Code for Three.js initial drawing of objects. // Should include one of: // ABWorld.init2d ( arguments ); // ABWorld.init3d ( arguments ); }; this.nextStep = function() { // Code for Three.js re-drawing of objects. }; this.endRun = function() { }; }