mirror of
https://github.com/liabru/matter-js.git
synced 2024-12-25 13:39:06 -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(engine, 'beforeTick', event); // back compatibility
|
||||
|
||||
if (runner.isFixed) {
|
||||
// fixed timestep
|
||||
|
@ -164,7 +163,6 @@ var Common = require('./Common');
|
|||
}
|
||||
|
||||
Events.trigger(runner, 'tick', event);
|
||||
Events.trigger(engine, 'tick', event); // back compatibility
|
||||
|
||||
// if world has been modified, clear the render scene graph
|
||||
if (engine.world.isModified
|
||||
|
@ -192,7 +190,6 @@ var Common = require('./Common');
|
|||
}
|
||||
|
||||
Events.trigger(runner, 'afterTick', event);
|
||||
Events.trigger(engine, 'afterTick', event); // back compatibility
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue