medea/medea.context.js
// Call user tick callbacks, result of false kills the frame
Call user tick callbacks, result of false kills the frame
Call user tick callbacks result of false kills the frame
function call_user_callbacks() {
			var temp_callbacks = [];
			for(var k in medeactx.tick_callbacks) {
				temp_callbacks.push(medeactx.tick_callbacks[k]);
			}
			for(var i = 0; i < temp_callbacks.length; ++i) {
				if(!temp_callbacks[i](dtime)) {
					medeactx.StopNextFrame();
					return false;
				}
			}
			return true;
		}
function call_user_callbacks ( ) { var temp_callbacks = [ ] ; for ( var k in medeactx . tick_callbacks ) { temp_callbacks . push ( medeactx . tick_callbacks [ k ] ) ; } for ( var i = 0 ; i < temp_callbacks . length ; ++ i ) { if ( ! temp_callbacks [ i ] ( dtime ) ) { medeactx . StopNextFrame ( ) ; return false ; } } return true ; }
Call user tick callbacks, result of false kills the frame
Call user tick callbacks result of false kills the frame
// Call user-defined logic, operate on a copy of the dictionary just in case // somebody changed its contents while we're iterating it.