batch replace onButtonPressed(Button...

This commit is contained in:
Peli de Halleux
2016-03-29 21:17:57 -07:00
parent 1f7e0b0f79
commit 850c313c5d
68 changed files with 187 additions and 187 deletions

View File

@ -27,7 +27,7 @@ Now let's add to this by creating a condition for on button pressed `A` before t
```
rotating = true
input.onButtonPressed("A", () => {
input.onButtonPressed(Button.A, () => {
}) // ***
while (rotating) {
basic.showAnimation(`
@ -48,7 +48,7 @@ Now that we have the on button pressed condition, let's make the animation stop
```
rotating = true
input.onButtonPressed("A", () => {
input.onButtonPressed(Button.A, () => {
rotating = false // ***
}) // ***
while (rotating) {