         return
 
       return
+
     orientationChange: (callback) ->
       # Callback returns if orientation of screen is changed
       _orientationChange callback
       return
+
     mobile: (callback) ->
       touchendCoords = {}
       # Callback returns when screen is touched and when screen touch ends

    callback coords, pressed
    return

  ###*
  * Used for getting mouse click coordinates
  * @param {Event} Event
  * @param {Function} Callback function
  * @return {Function} callback({Object} X & Y mouse coordinates)
  ###

  _mouseInput = (e, callback) ->
    coords = {}
    coords.x = e.pageX - (canvas.offsetLeft)

    callback coords
    return

  _orientationChange = (callback) ->
    window.addEventListener 'orientationchange', (->
      callback()
      return
    ), false
    return
