onScreenTap method
void
onScreenTap()
Implementation
void onScreenTap() {
if (!isPlaying) {
startGame();
} else if (!dino.isDead) {
dino.jump();
}
}
void onScreenTap() {
if (!isPlaying) {
startGame();
} else if (!dino.isDead) {
dino.jump();
}
}