code: function(object) {
              this.map.remove(object.x, object.y);
              var index = this.objects.indexOf(object);
              this.objects.splice(index, 1);
              if(object.onRemove){
                  object.onRemove();
              }
          }
docs: Removes an object from the manager.
  @method remove
  @param {Object} object - The objectity to be removed.