         I.objects.invoke("draw", canvas)
 
       self.trigger "draw", canvas
+
+      if I.showFPS
+        canvas.fillColor("#FFF")
+        canvas.fillText("fps: " + framerate.fps)
+
+      framerate.rendered()
 
     step = ->
       if !I.paused || frameAdvance


    queuedObjects = []

    update = ->
      self.trigger "update"


    excludedModules: []
    includedModules: []
    paused: false
    showFPS: false

  ###*
  The Engine controls the game world and manages game state. Once you 
