Fix formatting for game.js
This commit is contained in:
parent
12b5ce8e03
commit
062286d1f7
1 changed files with 3 additions and 3 deletions
6
game.js
6
game.js
|
@ -64,9 +64,9 @@ window.addEventListener("load", async () => {
|
||||||
setTransform: (ctx, a, b, c, d, e, f) => ctx.setTransform(a, b, c, d, e, f),
|
setTransform: (ctx, a, b, c, d, e, f) => ctx.setTransform(a, b, c, d, e, f),
|
||||||
setImageSmoothingEnabled: (ctx, enabled) => ctx.imageSmoothingEnabled = (enabled == 1)
|
setImageSmoothingEnabled: (ctx, enabled) => ctx.imageSmoothingEnabled = (enabled == 1)
|
||||||
},
|
},
|
||||||
console: {
|
console: {
|
||||||
log: (text) => console.log(text)
|
log: (text) => console.log(text)
|
||||||
},
|
},
|
||||||
math: {
|
math: {
|
||||||
random: () => Math.random()
|
random: () => Math.random()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue