     @direction = 'down'
     @movementFactor = 2
 
-  # `Player.update()` is called by the higher level `update()` function, as
+  # `Character.update()` is called by the higher level `update()` function, as
   # we'll see below, which is turn called by `mainLoop()`.
   update: ->
 

    @x = @x.clamp(0, CANVAS_WIDTH - GRID)
    @y = @y.clamp(0, CANVAS_HEIGHT - GRID)

  # `Player.draw()` is called every `canvas` update cycle, just like
  # `Player.update()`. This is what draws and animates the player sprite.
  draw: ->

    # `getImageX()` is a function (defined below) that returns the x-coordinate


# ### Game entities

class Character
  constructor: ->
    @x = GRID*7
    @y = GRID*5
