Fix _removeThread documentation and add toggleStack

This commit is contained in:
Tim Mickel 2016-04-29 17:31:04 -04:00
parent 69450031cd
commit 96123f870f
4 changed files with 67 additions and 8 deletions
src/engine

View file

@ -4,6 +4,10 @@
* @constructor
*/
function Thread (firstBlock) {
/**
* Top block of the thread
*/
this.topBlock = firstBlock;
/**
* Next block that the thread will execute.
* @type {string}