Add begin step to tutorial

This commit is contained in:
Ryan Huffman 2016-10-27 15:02:21 -07:00
parent 8a7f67c849
commit 7b881a6be0

View file

@ -244,11 +244,10 @@ function playFirecrackerSound(position) {
// STEP: DISABLE CONTROLLERS // // STEP: DISABLE CONTROLLERS //
// // // //
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
var stepDisableControllers = function(name) { var stepStart = function(name) {
this.tag = name; this.tag = name;
this.shouldLog = false;
} }
stepDisableControllers.prototype = { stepStart.prototype = {
start: function(onFinish) { start: function(onFinish) {
disableEverything(); disableEverything();
@ -1035,7 +1034,7 @@ TutorialManager = function() {
currentStep = null; currentStep = null;
startedTutorialAt = Date.now(); startedTutorialAt = Date.now();
STEPS = [ STEPS = [
new stepDisableControllers("step0"), new stepStart("start"),
new stepOrient("orient"), new stepOrient("orient"),
//new stepRaiseAboveHead("raiseHands"), //new stepRaiseAboveHead("raiseHands"),
new stepNearGrab("nearGrab"), new stepNearGrab("nearGrab"),