Showimagedelay (#446)

* add delay on "show image"

* removing optional duration
This commit is contained in:
Peli de Halleux
2018-04-05 20:42:03 -07:00
committed by GitHub
parent 29f081eb03
commit fbb3280bc8
2 changed files with 7 additions and 3 deletions

View File

@ -31,7 +31,7 @@ namespace brick {
*/
show() {
brick.setStatusLight(this.light);
brick.showImage(this.image);
brick.showImage(this.image, 0);
music.playSoundEffectUntilDone(this.sound);
pause(20);
}