kiki/coffee/levels.coffee
monsterkodi 923106effb mutands
2016-08-22 20:54:49 +02:00

82 lines
2.1 KiB
CoffeeScript

# 000 00000000 000 000 00000000 000 0000000
# 000 000 000 000 000 000 000
# 000 0000000 000 000 0000000 000 0000000
# 000 000 000 000 000 000
# 0000000 00000000 0 00000000 0000000 0000000
class Levels
constructor: () ->
@dict = {}
@list = [
# "test",
# --- introduction
# "steps",
# "start",
# "move",
# "electro",
# "elevate",
# "throw",
# --- easy
# "gold",
# "jump",
# "escape",
# "gears",
# "gamma",
# "cube",
# "switch",
# "borg",
# "mini",
# "blocks",
# "bombs",
# "sandbox",
# "energy",
# "maze",
"love",
# --- medium
# "towers",
# "edge",
# "random",
# "plate",
# "nice",
# "entropy",
# --- owen hay's levels (TODO: sort in)
# "grasp",
# "fallen",
# "cheese",
# "invisimaze",
# "spiral",
# --- difficult
# "slick",
# "bridge",
# "flower",
# "stones",
# "walls",
# "grid",
# "rings",
# "core",
# "bronze",
# "pool",
# --- tough
# "hidden",
# "church",
# "strange",
# "mesh",
# "columns",
# "machine",
# --- very hard
# "neutron",
# "captured",
# "circuit",
# "regal",
# "conductor",
# "evil",
# outro
"mutants"]
# import the levels
for levelName in @list
@dict[levelName] = require "./levels/#{levelName}"
module.exports = Levels