Skip to content

Commit

Permalink
fix(levels): fix cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
remarkablemark committed May 27, 2024
1 parent 694c786 commit 0b8e750
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/levels/10.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import { Cleanup, Sprite } from '../types'

export const level = 10
export const title = 'Loops 2'
let cleanups: Cleanup[]

const cleanups: Cleanup[] = []

const map = [
' ',
Expand Down
3 changes: 2 additions & 1 deletion src/levels/11.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import { Cleanup, Sprite } from '../types'

export const level = 11
export const title = 'Loops 3'
let cleanups: Cleanup[]

const cleanups: Cleanup[] = []

const ENEMY_SPEED = 500

Expand Down
3 changes: 2 additions & 1 deletion src/levels/6.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import { Cleanup, Sprite } from '../types'

export const level = 6
export const title = 'Objects'
let cleanups: Cleanup[]

const cleanups: Cleanup[] = []

export function prescript() {
initLevel(level, cleanups)
Expand Down
3 changes: 2 additions & 1 deletion src/levels/7.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import { Cleanup, Sprite } from '../types'

export const level = 7
export const title = 'Functions'
let cleanups: Cleanup[]

const cleanups: Cleanup[] = []

export function prescript() {
initLevel(level, cleanups)
Expand Down

0 comments on commit 0b8e750

Please sign in to comment.