This commit is contained in:
Andrew Sliwinski 2016-04-18 17:20:30 -04:00
parent 655556273a
commit f9f47ed103
20 changed files with 2113 additions and 13 deletions
src/engine

29
src/engine/sequencer.js Normal file
View file

@ -0,0 +1,29 @@
var Timer = require('../util/timer');
/**
* Constructor
*/
function Sequencer (runtime) {
// Bi-directional binding for runtime
this.runtime = runtime;
// State
this.runningThreads = [];
this.workTime = 30;
this.timer = new Timer();
this.currentTime = 0;
}
Sequencer.prototype.stepAllThreads = function () {
};
Sequencer.prototype.stepThread = function (thread) {
};
Sequencer.prototype.startSubstack = function (thread) {
};
module.exports = Sequencer;