aboutsummaryrefslogtreecommitdiff
path: root/src/paperflight/index.html
diff options
context:
space:
mode:
authorMark Powers <markppowers0@gmail.com>2020-05-14 11:09:41 -0500
committerMark Powers <markppowers0@gmail.com>2020-05-14 11:09:41 -0500
commit0ec9047997e3ecaf7c4973baaa2e7b6b52e8144c (patch)
tree83ed4591d32cd9114d65c7affc5177c585d09fd4 /src/paperflight/index.html
parent4d3aba7167fbfd5e002714e3c4a577cc17f18af0 (diff)
Refactor level consruction
Diffstat (limited to 'src/paperflight/index.html')
-rw-r--r--src/paperflight/index.html11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/paperflight/index.html b/src/paperflight/index.html
index a620a1c..62763be 100644
--- a/src/paperflight/index.html
+++ b/src/paperflight/index.html
@@ -85,16 +85,7 @@
switchState = 0
startLevel = false
} else {
- currLevel = {
- title: "YOU WIN!",
- coinsNeeded: 0,
- exit: {
- x: -100,
- y: -100,
- radius: 0
- },
- items: []
- }
+ currLevel = createLevel("YOU WIN!", 0, -100, -100)
}
}
function atExit() {