Implement "go to" block ()

* Implement "go to" block

* Add a missing semicolon

My text editor doesn't automatically insert them and I'm not used to using
semicolons so much. :(

* Implement go-to-random

* Clean up the go-to-random code a bit

* Add rounding to _random_ picks
This commit is contained in:
Liam 2016-10-04 19:19:52 -03:00 committed by Tim Mickel
parent 886bcbe3c1
commit 5871672551
2 changed files with 33 additions and 0 deletions
src/engine

View file

@ -69,6 +69,18 @@ function Runtime () {
this._cloneCounter = 0;
}
/**
* Width of the stage, in pixels.
* @const {number}
*/
Runtime.STAGE_WIDTH = 480;
/**
* Height of the stage, in pixels.
* @const {number}
*/
Runtime.STAGE_HEIGHT = 360;
/**
* Event name for glowing a script.
* @const {string}