(controllerArray)
| 2836 | } |
| 2837 | |
| 2838 | function updateDisplays(controllerArray) { |
| 2839 | |
| 2840 | |
| 2841 | if (controllerArray.length != 0) { |
| 2842 | |
| 2843 | requestAnimationFrame(function() { |
| 2844 | updateDisplays(controllerArray); |
| 2845 | }); |
| 2846 | |
| 2847 | } |
| 2848 | |
| 2849 | common.each(controllerArray, function(c) { |
| 2850 | c.updateDisplay(); |
| 2851 | }); |
| 2852 | |
| 2853 | } |
| 2854 | |
| 2855 | return GUI; |
| 2856 |