 ###
 setInterval () ->
     Game.events.dispatch new Game.TickEvent
-, 200
+, 1000 / Game.constants.ticksPerSecond

Game.rooms = {}


class Game.State

    ###


        @log "Creating room '#{@name}' with ID '#{@id}'"
        Game.rooms[@id] = @

        @level = new Game.Level [32, 32, 16]

    ###
    Set the primary difficulty.
