Commit cd982101 authored by Terence Martin's avatar Terence Martin

Hide players before final ball drop

Now when we enter the phase for the final ball drop, we make sure that
the human and computer Player entities are hidden.
parent 05a53006
......@@ -5025,6 +5025,12 @@ var nurdz;
// Tell the computer that they're starting their turn now.
this._computer.ai_startingTurn();
break;
// When we enter the final ball drop, hide the player and
// computer characters.
case game.GameState.FINAL_BALL_DROP:
this._player.visible = false;
this._computer.visible = false;
break;
}
};
/**
......
......@@ -593,6 +593,13 @@ module nurdz.game
// Tell the computer that they're starting their turn now.
this._computer.ai_startingTurn ();
break;
// When we enter the final ball drop, hide the player and
// computer characters.
case GameState.FINAL_BALL_DROP:
this._player.visible = false;
this._computer.visible = false;
break;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment