revert comment
This commit is contained in:
parent
e70448cb6a
commit
57d442bf0e
1 changed files with 15 additions and 15 deletions
|
|
@ -202,18 +202,18 @@ function resetScore(): void {
|
||||||
/**
|
/**
|
||||||
* Handler for key events.
|
* Handler for key events.
|
||||||
*/
|
*/
|
||||||
// function keyPressed() {
|
function keyPressed() {
|
||||||
// if (!ready) return;
|
if (!ready) return;
|
||||||
// // Jump
|
// Jump
|
||||||
// if (BOOST_KEYS.includes(key.toLowerCase())) {
|
if (BOOST_KEYS.includes(key.toLowerCase())) {
|
||||||
// resetScore();
|
resetScore();
|
||||||
// raspberry.boost();
|
raspberry.boost();
|
||||||
// }
|
}
|
||||||
//
|
|
||||||
// // Pause the Game
|
// Pause the Game
|
||||||
// if (key == "Escape") {
|
if (key == "Escape") {
|
||||||
// paused = !paused;
|
paused = !paused;
|
||||||
// } else if (paused) {
|
} else if (paused) {
|
||||||
// paused = false;
|
paused = false;
|
||||||
// }
|
}
|
||||||
// }
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue