virtual-world-framework/mars-game — pull request #62 by scottnc27603 (2014-05-15 04:31:09+00:00)
Title: Blockly refactor

Refactors the roverBlockly behavior out of the project, and places all of the generic blockly functionality into the core. These are changes that have occurred after putting the JS-Interpreter into the blockly model driver.

Issues(should be fixed on another branch):

Wonky ram calculations. ramMax and blockly_allowedBlocks are really the same data now, so we may want to do the calculations different. Regardless, blockly_allowedBlocks should remain in blockly/controller as many blockly applications will want to restrict the number of blocks for a given task. I made some changes to scenario which we might want to back out, I was trying to get the initial ram calculating properly.

I had to move a couple of the blockly changed listeners into it's own file. Either this was a caching problem or the change was require to get those events to be called properly.

Include the 'blockly-refactor' branch from vwf to test this branch.