summaryrefslogtreecommitdiff
path: root/boot.js
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2023-10-25 08:20:48 -0400
committerDavid Thompson <dthompson2@worcester.edu>2023-10-25 08:38:11 -0400
commit3a1afc62724f1631f23b5aa044856f7d09db14eb (patch)
treecbede9ae3bc131b244b99d1005b85ec5cef32df0 /boot.js
parent2f1022f1d65b148524dc8f0c824aaca6e9392996 (diff)
Lots of changes!
* Update reflect library * Text alginment * Tiled map compilation!
Diffstat (limited to 'boot.js')
-rw-r--r--boot.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/boot.js b/boot.js
index b30e95b..d62791e 100644
--- a/boot.js
+++ b/boot.js
@@ -95,6 +95,9 @@ async function load() {
setFont(context, font) {
context.font = font;
},
+ setTextAlign(context, align) {
+ context.textAlign = align;
+ },
clearRect(context, x, y, w, h) {
context.clearRect(x, y, w, h);
},