             usedAtStart: 1
         }
     }
-    editor = new GameEditor levelOne, commands
+    editor = new PlayerCodeEditor levelOne, commands
     window.Editor = editor # For testing only, puts editor in global namespace.
     return
 
-class GameEditor
+class PlayerCodeEditor
     constructor: (@codeText, @commands) ->
         @editor = ace.edit "editor"
         @editSession = @editor.getSession()


    getCommandFromLine: (line) ->
        re = /^(.+)\(/
        re.exec(line)[1]

    setUpInsertCommands: ->
        ###

        This is a wrapper for the functions which need to know the cursor's row and column
        It retrieves the current row and the current column and passes them to the function.
        ###
        playerCodeEditor = @
        return ->
            cursorPosition = playerCodeEditor.editor.getCursorPosition()
            arguments[arguments.length++] = cursorPosition.row
            arguments[arguments.length++] = cursorPosition.column
            func.apply playerCodeEditor, arguments
            return

    editsText: (func) ->
