         ['Arrow keys to move', { fontSize: 16 }]
         ['Press 0, -, + for volume', { fontSize: 16 }]
         ['Press Q to quit', { fontSize: 16 }]
-      ], @game
+      ], @game,
+        pauseHandler: (paused) => @player.control = not paused
 
     _addMate: ->
       {x, y} = @endingPoint

      @physics.arcade.gravity.y = 500

      @cursors = @input.keyboard.createCursorKeys()
      @onHit = @input[if @game.device.touch then 'onTap' else 'onUp']
      @onHit.add @quit, @



  'use strict'

  {Key, Keyboard, Timer} = Phaser

  MateLastFrame = 14

