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

@ -32,7 +32,7 @@ basic.showAnimation(`
. . . . . # # # # # # # # # # # # # # #
. . . . . . . . . . . . . . . # # # # #
`, 400)
input.onButtonPressed("A", () => {
input.onButtonPressed(Button.A, () => {
basic.clearScreen() // ***
}) // ***
```

View File

@ -14,7 +14,7 @@ basic.showAnimation(`
. . . . . # # # # # # # # # # # # # # #
. . . . . . . . . . . . . . . # # # # #
`, 400)
input.onButtonPressed("A", () => {
input.onButtonPressed(Button.A, () => {
basic.clearScreen()
})
```
@ -31,10 +31,10 @@ basic.showAnimation(`
. . . . . # # # # # # # # # # # # # # #
. . . . . . . . . . . . . . . # # # # #
`, 400)
input.onButtonPressed("A", () => {
input.onButtonPressed(Button.A, () => {
basic.clearScreen()
})
input.onButtonPressed("B", () => {
input.onButtonPressed(Button.B, () => {
})
```
@ -52,10 +52,10 @@ basic.showAnimation(`
. . . . . # # # # # # # # # # # # # # #
. . . . . . . . . . . . . . . # # # # #
`, 400)
input.onButtonPressed("A", () => {
input.onButtonPressed(Button.A, () => {
basic.clearScreen()
})
input.onButtonPressed("B", () => {
input.onButtonPressed(Button.B, () => {
basic.showAnimation(`
# # # # # # # # # # . . . . . . . . . .
# # # # # # # # # # . . . . . . . . . .