fixed error in fillLevelsSelection
This commit is contained in:
parent
03c76e61bc
commit
771eeab446
2 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
import { levelsBlueprint } from '/modules/levels.mjs'
|
||||
|
||||
export const fillLevelSelection = () => {
|
||||
export const fillLevelsSelection = () => {
|
||||
let levelList = document.getElementById('level-list');
|
||||
for (let i = 0; i < levelsBlueprint.size; ++i) {
|
||||
let listElement = document.createElement("li");
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
import { generatePlayground } from '/modules/playground.mjs'
|
||||
import {levelsBlueprint } from '/modules/levels.mjs'
|
||||
import { levelsBlueprint } from '/modules/levels.mjs'
|
||||
import { MoveDirection } from '/modules/enums.mjs'
|
||||
import { fillLevelsSelection } from '/modules/fillLevelsSelection.mjs'
|
||||
|
||||
fillLevelSelection();
|
||||
fillLevelsSelection();
|
||||
let canvas = document.getElementById('canvas');
|
||||
let ctx = canvas.getContext('2d');
|
||||
window.ctx = ctx
|
||||
|
|
Loading…
Reference in a new issue