mirror of
https://github.com/liabru/matter-js.git
synced 2024-12-26 13:49:01 -05:00
remove deprecated backwards compatibility engine events from Matter.Runner
This commit is contained in:
parent
63a9e988f4
commit
76bf80eaae
1 changed files with 0 additions and 3 deletions
|
@ -119,7 +119,6 @@ var Common = require('./Common');
|
||||||
};
|
};
|
||||||
|
|
||||||
Events.trigger(runner, 'beforeTick', event);
|
Events.trigger(runner, 'beforeTick', event);
|
||||||
Events.trigger(engine, 'beforeTick', event); // back compatibility
|
|
||||||
|
|
||||||
if (runner.isFixed) {
|
if (runner.isFixed) {
|
||||||
// fixed timestep
|
// fixed timestep
|
||||||
|
@ -164,7 +163,6 @@ var Common = require('./Common');
|
||||||
}
|
}
|
||||||
|
|
||||||
Events.trigger(runner, 'tick', event);
|
Events.trigger(runner, 'tick', event);
|
||||||
Events.trigger(engine, 'tick', event); // back compatibility
|
|
||||||
|
|
||||||
// if world has been modified, clear the render scene graph
|
// if world has been modified, clear the render scene graph
|
||||||
if (engine.world.isModified
|
if (engine.world.isModified
|
||||||
|
@ -192,7 +190,6 @@ var Common = require('./Common');
|
||||||
}
|
}
|
||||||
|
|
||||||
Events.trigger(runner, 'afterTick', event);
|
Events.trigger(runner, 'afterTick', event);
|
||||||
Events.trigger(engine, 'afterTick', event); // back compatibility
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue