   @bot.showyi = @bot.yi = @initial_bot_location.yi
   @bot.showdir = @bot.dir = @initial_bot_location.dir
 
-
   @current_command = 0
 
   return

play_button =
  render: renderPlayButton
  action: playButtonAction

# level

levelMode =
  STOPPED: 0
  PLAYING: 1
  LIVE_EDIT: 2

levelAnimMode =
  READY: 1  # ready to run the next command

    when levelMode.STOPPED
      level.commands[level.current_command] = @cmd
      level.advanceCurrentCommand()
    when levelMode.PLAYING
      level.commands[level.commands.length] = @cmd

  return
