From 69c8077f0c5960de934519cf958e00a879314285 Mon Sep 17 00:00:00 2001 From: sfja Date: Sun, 7 Sep 2025 21:43:31 +0200 Subject: [PATCH] move lib.js into lib folder --- game.js | 2 +- lib.js => lib/lib.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename lib.js => lib/lib.js (93%) diff --git a/game.js b/game.js index d04d419..b606c4b 100644 --- a/game.js +++ b/game.js @@ -1,4 +1,4 @@ -import * as lib from "./lib.js" +import * as lib from "./lib/lib.js" const playerSprite = await lib.texture.loadImage("assets/player.png", 64, 64); const bulletSprite = await lib.texture.loadImage("assets/bullet1.png", 24, 24); diff --git a/lib.js b/lib/lib.js similarity index 93% rename from lib.js rename to lib/lib.js index e1a9e6f..7aaa0df 100644 --- a/lib.js +++ b/lib/lib.js @@ -1,6 +1,6 @@ -export * as canvas from "./lib/canvas.js" -export * as texture from "./lib/texture.js" +export * as canvas from "./canvas.js" +export * as texture from "./texture.js" export let frameDeltaT = 0;