diff options
author | sanine <sanine.not@pm.me> | 2024-07-05 23:12:45 -0500 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2024-07-05 23:12:45 -0500 |
commit | 7e2cc59135c1bc0036c4a3a9c91defef274f005e (patch) | |
tree | 620f9e6f7217c5ac262377900874ae57aa1e7530 /render.js | |
parent | ad5e699c810e448dc24d06dec201b7867b9f5e06 (diff) |
add level completion
Diffstat (limited to 'render.js')
-rw-r--r-- | render.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -11,6 +11,7 @@ export function render(ctx, level, index) { level.resources .filter(({ collected }) => collected === false) .forEach(({ pos }) => drawMark(ctx, '+', pos[0], pos[1])); + drawMark(ctx, '※', level.home[0], level.home[1]); } |